CKEditor5 editor does not appear

Created on 24 March 2025, 12 days ago
Updated 29 March 2025, 7 days ago

Problem/Motivation

When CKEditor5 Template is enabled, the editor does not appear and content cannot be adjusted, etc.

Steps to reproduce

1. Add and enable CKEditor 5 and CKEditor 5 Template from Extend
2. Create an editor for CKEditor5 in Text formats and editors(Text formats and editors(CKEditor5).png)
3. Open content that uses CKEditor and change the text format to CKEditor5.
→CKEditor does not show up.(Contents-CKEditor5.png)

If CKEditor4 (Full HTML) is selected, it will be displayed normally.(Contents-CKEditor4.png)

Environmental information is as follows
・Drupal Version:10.2.7
・CKEditor 5:10.2.7
・CKEditor 5 Template:1.0.6

----------

We have confirmed that if we do not add a template to the Toolbar configuration, it is displayed correctly.
(Toolbar configuration.png, CKEditor5.png)

We have also confirmed that the template json also references the following and is in place.
/modules/contrib/ckeditor5_template/template/ckeditor5_template.json.example

Proposed resolution

I want to select "CKEditor5" in text format so that CKEditor appears

💬 Support request
Status

Active

Version

1.0

Component

Miscellaneous

Created by

🇯🇵Japan zyyx-yoshida

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.

  • 🇮🇹Italy apaderno Brescia, 🇮🇹
  • 🇩🇪Germany dbielke1986

    Did you try version 1.0.8?
    In version 1.0.6 we had a problem with specific Drupal versions.

    BR

  • 🇮🇹Italy apaderno Brescia, 🇮🇹
  • First commit to issue fork.
  • 🇧🇪Belgium weareronin

    I am facing exactly the same issue (1.0.8). I have however some extra notes I can mention :
    If I keep the path to : /modules/contrib/ckeditor5_template/template/ckeditor5_template.json.example, CKEditor is appearing just fine. The issue only arise when I define another path.
    However, the path I define manually is correct because when navigating with user 1, I have no issue. This only happen with account with less permissions.

  • Pipeline finished with Success
    5 days ago
    Total: 176s
    #461179
  • 🇩🇪Germany vincent.hoehn Dresden, Germany

    Can you please check if there are any errors in the Console(DevTools)?
    I'm pretty sure it's due to a syntax error in your JSON.

    The plugin is activated when the template is dragged into the toolbar configuration. It is not active before that.

    Maybe this issue will help you:
    https://www.drupal.org/project/ckeditor5_template/issues/3437968 💬 Toolbar does not load at all after enabling Template Closed: works as designed

Production build 0.71.5 2024