You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem Line 42 of Ckeditor.svelte tries to set the read-only status with this piece of code: editor.isReadOnly = disabled;.
This is not supported by CKEditor 5, because read-only has no setter. Read more here.
Screenshot of the error message
Suggested Solution
Since I don't see the purpose of disabling the editor anyway, I would suggest removing the line altogether.
The text was updated successfully, but these errors were encountered:
@IsAvaible that's true, also if you need to disable de editor you can always do that on the onReady function. Anyways, I fix it in my project using the new CKEditor method enableReadOnlyMode( ), @techlab23 I created a PR with that fix.
Hi, I tried to use this package in my project and encountered the same error, even though I see that it was corrected in commit 2733412
I installed the package directly from the GitHub URL, and it worked fine, unlike the version installed via npm. It seems the npm package needs to be updated to include the latest changes.
Problem
Line 42 of Ckeditor.svelte tries to set the read-only status with this piece of code:
editor.isReadOnly = disabled;
.This is not supported by CKEditor 5, because read-only has no setter. Read more here.
Screenshot of the error message

Suggested Solution
Since I don't see the purpose of disabling the editor anyway, I would suggest removing the line altogether.
The text was updated successfully, but these errors were encountered: