disabling ‘CKEditor 5 Full-screen Mode’ leads to javascript error

Created on 8 September 2025, about 1 month ago

Problem/Motivation

See Fullscreen to be replaced with official plugin in the CKEditor 5 Plugin Pack module

In 'Extend' : ckeditor5_premium_features_fullscreen (1.6.0) is shown as ‘CKEditor 5 Full-screen Mode (legacy) (Deprecated)'

If you uninstall this the 'Text formats and editors' page 'Toolbar configuration' fails to show icons

Steps to reproduce

drush pm-uninstall ckeditor5_premium_features_fullscreen

Go to /admin/config/content/formats/manage/full_html and the 'Available buttons' field, the text is shown '{"undo":{"label":"Undo"},"redo":{"label":"Redo"},....' not the rendered buttons.

In the browser Console:
'Uncaught TypeError: can't access property "id", [].find(...) is undefined' ckeditor5.admin.js:566:48
This is web/core/modules/ckeditor5/js/ckeditor5.admin.js

Enabling the new fullscreen plugin does not help (ckeditor5_plugin_pack_fullscreen).
drush en ckeditor5_plugin_pack_fullscreen

Proposed resolution

* Update javascript to handle this condition
* Add warning to release notes

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

10.6

Component

ckeditor5.module

Created by

🇬🇧United Kingdom Jons

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

Comments & Activities

  • Issue created by @Jons
  • 🇵🇱Poland salmonek

    @jons

    In the "Active toolabar" textarea find and delete "fullScreen", text (or with comma in front in case fullscreen was the last item in your toolbar). You should be able to save the text format and subsequent edit will have toolbars rendered correctly.
    The old configuration doesn't work with new module as the new plugin has minimally different label for the toolbar item.
    On the module side we'll think about implementing hook_uninstall which will check existing text formats and remove old item if necessary.

  • 🇬🇧United Kingdom Jons

    Hi @salmonek
    Great - that worked.
    BTW I think the section is called 'toolbar items' or similar when in its broken state ('Active toolbar' when its fixed)

Production build 0.71.5 2024