CKEditor 5 toolbar not appearing after upgrading to 11.2.1

Created on 26 June 2025, 9 days ago

The other day I installed drupal 11.2.0. Everything seemed fine, but I didn't check the content insertion.
Today I upgraded to 11.2.1, tried to insert some content and the CKEditor toolbar is not present.

In the log file I got this error:

[26-Jun-2025 06:29:35 UTC] PHP Fatal error: Uncaught Error: Failed opening required '/home/hmcpdbiy/public_html/vendor/autoload.php' (include_path='.:/opt/cpanel/ea-php83/root/usr/share/pear') in /home/hmcpdbiy/public_html/autoload.php:15
Stack trace:
#0 /home/hmcpdbiy/public_html/index.php(14): require_once()
#1 {main}
thrown in /home/hmcpdbiy/public_html/autoload.php on line 15

In the status report I got this warning:

The anonymous user does not exist. See the restore the anonymous (user ID 0) user record for more information

Sorry for my ignorance, but I don't know where to insert the hook (I can't use Drush.).

What could be causing this problem?

Thanks and regards

🐛 Bug report
Status

Active

Version

11.2 🔥

Component

ckeditor5.module

Created by

🇮🇹Italy giordy

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

Comments & Activities

  • Issue created by @giordy
  • Did that error align in time to the missing CKEditor?

    Please investigate the browser console logs and return with that information. We have had a few cases where sites have CKEditor logins which are causing this problem but this fact isn't always reported initially.

  • 🇮🇹Italy giordy

    The error in the log file appeared during installation and then did not reappear.

  • That was during the installation of what thing?

  • In case I wasn't clear we need the browser console log that is shown when the page loads with CKEditor missing.

    In addition it would be helpful to know which CKEditor extra modules are installed on the site.

  • 🇮🇹Italy giordy

    a) The error appeared during the installation of 11.2.1.

    b)
    1. I click on Edit of the page to modify
    2. I open the firefox browser console.
    3. I download the file.

    c)
    - Accordion
    - Anchor link
    - CodeMirror
    - Editor Advanced Image
    CKEditor5 Limk Popup

  • Is CKEditor completely missing or just its toolbar?

  • 🇮🇹Italy giordy

    Now it has disappeared even in configuration, but I had checked before and it was there.

  • Usually CKEditor failing to load would be seen in the browser console.

  • 🇳🇿New Zealand quietone

    This issue reported the same problem, 💬 CKEDITOR Toolbar/Formatting missing Active on Drupal 10.5.1. In that issue the problem was with the contrib project, editor_file 🐛 Update drupalFile.js for compatibility with the latest CKEditor version Active . Sharing in case this too is cause by a contrib module.

  • 🇮🇹Italy giordy

    I changed console and now I see the error.

  • You have a problem there with a custom theme which you will have to analyze.

  • 🇺🇸United States nicxvan

    Is that an external minified css file? Do you have minified set to true?

  • There is also libraries/dom_purify/dist/purify.min.js, which is missing on your end.

  • 🇮🇹Italy giordy

    1. The theme is custom and is in the Custom folder
    2. The css is inside this folder
    3. The libraries/dom_purify/dist/purify.min.js file is there.

    Regarding the theme, I am writing to the author.

    Thank you

  • 🇮🇹Italy giordy

    The problem is not the custom theme, but the Editor Advanced Image module. If I uninstall it, the toolbar reappears.

    But in text formats, the buttons are missing.

  • To be clear I wrote "In addition it would be helpful to know which CKEditor extra modules are installed on the site" here in a comment a week ago and did not get a reply. In future it would be more efficient to get those answers.

  • 🇮🇹Italy giordy

    To be clear I wrote "In addition it would be helpful to know which CKEditor extra modules are installed on the site" here in a comment a week ago and did not get a reply. In future it would be more efficient to get those answers.

    That's not true. I answered in #6 c.

  • 🇺🇸United States alfattal Minnesota

    Since this core release introduced new changes to CKEditor module in which all related contrib modules should adapt to, the basic assumption is to at least warn users about this change. Also, the tagged related issue is for the (Editor Advanced Image) contrib module which doesn't make this ticket as Duplicate. Hence, I'm reopening it.

  • 🇺🇸United States nicxvan

    The way core notifies users and contrib about change is with change records.

    The change record for this change is here: https://www.drupal.org/node/3528806
    It is an upstream change from ckeditor that Drupal has not control over.

    You're right this is not a duplicate, but it is working as designed.

    Unfortunately core cannot address this so there is no need to keep this open.
    Contrib modules need to update to the new ckeditor version.

    This issue will still show up on google for other users to find even if it's closed, so I'm marking closed works as designed.

    Also @giordy thank you for the list, it may be worth checking the issue queue for each of them to see if they are being addressed, though editor advanced link seems like the main one.

  • @giordy You are correct. Sorry!

  • 🇺🇸United States alfattal Minnesota

    @nicxvan Agreed, and thanks for providing the additional info. For what it worth, the culprit in my case was the CKEditor Anchor Link contrib module and the suggested solution Support CKEditor5 45.2.0 Needs review was to add a replace statement to composer.lock file.

Production build 0.71.5 2024