![]() ![]() As I am using the classic editor my section is called "ClassicEditor.builtinPlugins", add it next to TableToolbar. import SimpleUploadAdapter from add the import to your array of plugins. There will be a whole load of imports in this file and drop it all the bottom. Import the new js file into the ckeditor.js file. If you have been playing around with ckEditor then its contents should look familiar. install this package to get the simple upload adapter: npm install -save this is done open the ckeditor.js file in the project. Right you now have the base build and you need to install an upload adapter. If you are using VS code open the dir and open a terminal box and get the dependencies: npm i ![]() Go to to github and clone or download the project into your new shiny build directory. For this example I am using the classic editor. Don't run ng new (Angular CLI), but instead use npm to get the base build of the editor you want to show. I'am assuming you already have the ckeditor Angular files.įirst, create a new angular project directory and call it "cKEditor-Custom-Build" or something. ![]() You do however need to create a custom build of ckeditor that has the upload adapter installed. In the end I used the CKEditor 5 simple upload adapter with Angular 8 and it works just fine. I did however get it to work after much trial and error, so I thought I would share. I was searching for information on how to use this control and found the official documentation rather minimal. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |