Ckeditor not load In paragraph

Created on 21 December 2017, almost 7 years ago
Updated 6 September 2023, about 1 year ago

I have a content type that doesn't have any text fields itself, only Paragraphs fields that in turn do have text fields with WYSIWYG support required. All that paragraphs are collapsed (closed in Paragraphs terms) or non-existent on a node edit page initially, so I have to click "add" or "edit" to bring up the paragraphs create/edit form.

The problem is no editor is loaded at this point so all the text fields are just normal html textareas. Everything works fine If there's a wysiwyg enabled field in the "host" content type.

Edit: It still doesn't work if I try to edit a Paragraphs field using the "edit field" quick link. I still have to click "edit" afterwards to load the form so no editor is loaded this time regardless of any other node fields.

I'm not sure if it's an Editor issue or a Paragraphs one.

💬 Support request
Status

Postponed: needs info

Version

1.2

Component

Code

Created by

🇮🇳India NitinSP

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇩🇪Germany Tomefa Dresden

    I have the same problem as the original description of the ticket:

    I have a content type that doesn't have any text fields itself, only Paragraphs fields that in turn do have text fields with WYSIWYG support required. All that paragraphs are collapsed (closed in Paragraphs terms) or non-existent on a node edit page initially, so I have to click "add" or "edit" to bring up the paragraphs create/edit form.

    The problem is no editor is loaded at this point so all the text fields are just normal html textareas. Everything works fine If there's a wysiwyg enabled field in the "host" content type.

    I'm not sure if it's an Editor issue or a Paragraphs one.

    This problem only appear when using Paragraph in combinaison with a Drupal contrib module that have implement a CKEditor5 plugins, for example with https://www.drupal.org/project/editor_advanced_link version 2.2.4

    When adding a new text paragraph, this error appear in the JS Console:

    Failed to load editorAdvancedLink - EditorAdvancedLink ckeditor5.js:188:15
    CKEditorError: plugincollection-plugin-not-found {"plugin":null}
    Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#error-plugincollection-plugin-not-found

    I imagine that the problem come from the CKEditor5 plugin that is not correctly built but this problem only appear with Paragraph. May be during the Ajax call, some loader are missing due to CKEditor lazy builders.

Production build 0.71.5 2024