I am facing issue while upgrading CKeditor 4 to CKeditor 5.

I have upgraded the drupal 9 to 10, after that I have created the new Text format and choose the 'CKeditor 5' option to that format. Now I am trying to create a new content, the CKeditor Tools(styles, link, source) or features not working. Only the textarea is shown while selecting the Text format.

While Selecting that new format, Console shows this error.

Error: "ckEditorError: plugincollection-plugin-not-found {"plugin":null}"

Please Support to fix this issue.

Comments

KalaiyarasiThangavel created an issue. See original summary.

kalaiyarasithangavel’s picture

Issue summary: View changes
bnjmnm’s picture

Nothing mentioned in the issue indicates this is specific to the ckeditor5_dev module. Does this issue only happen if the ckeditor5_dev is enabled?

kalaiyarasithangavel’s picture

StatusFileSize
new11.37 KB
new60.54 KB
new16.71 KB
new9.34 KB
new72.77 KB

Hi,

I think its core CKeditor 5 module installed in website. Sorry for mentioning the wrong version. Now i have attached the screenshots to understand the issue.
For that, we have created the 'Test HTML' for using the CKeditor 5 module. Once it is selected in Text format in content, showing console error.

Drupal version : 10.2.2

Thanks.

kalaiyarasithangavel’s picture

Project: CKEditor 5 Dev Tools » CKEditor 5 Allowed HTML
Version: 1.0.3 » 1.0.x-dev
awasson’s picture

I have also been struggling with this issue on my Full HMTM editing profile. My Basic HTML is fine.

It happened after upgrading to CKEditor 5 in Drupal 10 from CKEditor 4 in Drupal 9.

For me, this involved upgrading the Anchor Link module from CKEditor 4 to a CKEditor 5 version.

I found that the library for Anchor link was not loading and throwing an error that basically crashed the JS interpreter and stopped all of the other JS from running. I would check to make sure that any additional plugins that your using on the text editing profile that is causing issues are not having conflicts.

Cheers,
Andrew

adriancotter’s picture

Thanks @awasson I had this same issue -- and indeed, I had also not installed the library. Once I got that in it started working again.

scott_euser’s picture

Status: Active » Closed (cannot reproduce)
Related issues: +#3531299: Fix compatibility with CKEditor5 45.x

FYI here is another issue that results in plugin not found in case anyone stumbles across this: #3531299: Fix compatibility with CKEditor5 45.x

This issue is probably better as closed as it seems unrelated to this module. The comments here pointing people to potential culprits for the unclear error is likely sufficient. Feel free to disagree of course