mayasabha / ckeditor4-vue3

CKEditor 4 Component for Vue 3
https://www.npmjs.com/package/@mayasabha/ckeditor4-vue3
Other
21 stars 3 forks source link

Errors after change to 1.0.7 #13

Closed focussing closed 9 months ago

focussing commented 9 months ago

Hello!

I changed the version of this plugin from 1.0.5 to 1.0.7 and now I suddenly get some error messages in the console:

tempsnip

What is happening?

Best regards, Raymond

lserio commented 9 months ago

I also noticed that error in the console but it is gone now.

Now on Google Chrome I have this error:

FireShot Capture 260 -  - localhost

apoorvpal01 commented 9 months ago

The console error seems to be something on the CKEditor CDN because it is from the ckeditor.js file fetched from the server. I believe they have fixed the issue.

For the alert notification @lserio , this has been added by the CKEditor team indicating the EOL. You can add a versionCheck: false to the editor config to fix this. Ref . You can also update to 1.0.8, which I'll release in a short while, which has this attribute defaulting to false, when not specified explicitly

focussing commented 9 months ago

Would it be possible not to use the CDN but put the whole Ckeditor4 package locally? If so how to do that?

apoorvpal01 commented 9 months ago

@focussing The editorUrl prop can be used to specify a custom ckeditor.js file. The path needs to be a URL which can be accessed over the web though, and cannot be something that you only use during your frontend compilation. The ckeditor.js has to be a static asset present on your site, and you can use the link to it in the editorUrl prop.