Got ckeditor-duplicated-modules when integrate ckeditor5 into Angular project

☆樱花仙子☆ 提交于 2020-01-15 05:40:28

问题


I tried to integrate ckeditor5 into my angular project but got ckeditor-duplicated-modules. I tried many ways

  1. Add ckeditor classic build only, it works fine

  2. Add ckeditor classic build and Base64ImageUpload plugin, it does not work

  3. Extend my ClassicEditor from ClassicEditorBase 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:

  1. Fork one of the official builds.
  2. Add modules which you need
  3. Build it into JS file.
  4. Add this file to your Angular project.
  5. (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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!