Problem

I upgraded to Drupal to 10.5.0 and 10.5.1 and did not immediately try to edit a node. After upgrading CKEditor 5 Plugin Pack to 1.4.0 and attempting to edit a node, Body block only shows HTML source code. After making an edit and clicking Save, the code disappears and saved page has blank body. Plugin Pack developer traced problem to Inline Styles. https://www.drupal.org/project/ckeditor5_plugin_pack/issues/3533860

Steps to reproduce

Drupal 10.5.1. PHP 8.3.22. Ckeditor5 Inline Styles 1.0.0. Go to node edit with Text Format: Full HTML. Only source code is visible and saving changes deletes contents of Body block and had to revert previous revision.

/admin/modules/uninstall for inline styles says:
The following reason prevents Ckeditor 5 Inline Styles from being uninstalled:

  • Provides a filter plugin that is in use in the following filter formats: Full HTML

Go to node edit, change text format from Full HTML to Basic HTML and after okaying the warning of loosing some formatting, source code disappears and WYSIWYG CKEditor appears. Saved changes are applied.

Comments

fred_k created an issue. See original summary.

fred_k’s picture

Procedure to disable Inline Styles: Go to Configuration, Content authoring, Text formats and editors, Full HTML, Configure. Move the Media Inline Styles icon, which btw, is blank and has no logo, from the Active toolbar to Available buttons and deselect under Enabled filters Inline Style and Save configuration. Full HTML will work again.

milos.kroulik’s picture

Priority: Normal » Critical

I would say this is a critical issue, because it breaks CKeditor.