DEV Community

Discussion on: How to add Ckeditor5 in your Next JS, react App

Collapse
 
laurencefass profile image
laurence fass

Your codesandbox has same problem as my application. When you make a change in the code, and reload error:

CKEditorError
ckeditor-duplicated-modules
Read more: ckeditor.com/docs/ckeditor5/latest...
▶ 13 stack frames were collapsed.
eval
/src/Editor.js:10:21
7 | useEffect(() => {
8 | editorRef.current = {
9 | CKEditor: require("@ckeditor/ckeditor5-react").CKEditor, // v3+

10 | ClassicEditor: require("@ckeditor/ckeditor5-build-classic")
| ^
11 | };
12 | }, []);
13 |

Any idea how to solve this?

Collapse
 
apuchakraborty profile image
Apu Chakraborty
Collapse
 
laurencefass profile image
laurence fass

thanks for reply. can you provide explanation with link?