问题
I tried to integrate ckeditor5 into my angular project but got ckeditor-duplicated-modules
. I tried many ways
Add ckeditor classic build only, it works fine
Add ckeditor classic build and
Base64ImageUpload
plugin, it does not workExtend my
ClassicEditor
fromClassicEditorBase
but it does not work
Any one got the same issue ? and any solution for this one ?
回答1:
You should create custom build if you want to add modules.
You can read about Custom Builds here. Steps:
- Fork one of the official builds.
- Add modules which you need
- Build it into JS file.
- Add this file to your Angular project.
- (optional) You can publish your build to NPM and use it.
You can check out my build as example. I use it in my Angular project. Here is the links NPM and GitHub
来源:https://stackoverflow.com/questions/58829158/got-ckeditor-duplicated-modules-when-integrate-ckeditor5-into-angular-project