Posts

Showing posts from August 14, 2024

Custom build ckeditor 5

 To create a custom build of CKEditor 5 in an Angular 15 project, follow these steps:Step 1: Clone the CKEditor 5 Build RepositoryGo to the CKEditor 5 build repository (or the repository of the build type you want, e.g., Classic, Balloon, Inline).Clone the repository to your local machine.git clone https://github.com/ckeditor/ckeditor5-build-classic.git cd ckeditor5-build-classicStep 2: Customize the BuildInstall dependencies:npm installOpen the src/ckeditor.js file. You can customize the editor by importing and adding any additional plugins or removing unwanted ones.Example of adding a plugin:import Underline from '@ckeditor/ckeditor5-basic-styles/src/underline'; ClassicEditor.builtinPlugins = [     Essentials,     Paragraph,     Bold,     Italic,     Underline // Add the Underline plugin ];You can also customize the toolbar in the editorConfig section:ClassicEditor.defaultConfig = {     toolbar: {       ...

Popular posts from this blog

String Program in C#

CSV using XmlNode

Controller_Model. cs