Zohidbek Abduqodir
Zohidbek Abduqodir

Reputation: 326

All declarations of 'CKEDITOR_VERSION' must have identical modifiers

I followed step by step according to official documentation to make a text editor in angular so there were some build errors when I typed the command "ng serve".

Image Description

What could be causing this error?

Or is the optimal way to use "ng2-ckeditor" instead of "ckeditor5"?

I wanted to add MathType and ChemType plugins to CKEditor5. But I'm having trouble starting CKeditor. However, I used

ng2-ckeditor

in my projects, but I couldn't find any material about adding MathType plugin to it.

Upvotes: 1

Views: 1771

Answers (2)

Taha Erden
Taha Erden

Reputation: 321

I have raised this issue on CKEditor Github and it is now fixed. More info here

Upvotes: 4

Jayant Tripathy
Jayant Tripathy

Reputation: 84

I have used the below solution to get rid of this.

Open this file and comment out the version.

node_modules/@ckeditor/ckeditor5-angular/ckeditor.component.d.ts

enter image description here

After comment this, you can build it properly

Upvotes: 3

Related Questions