Plugin Pack 1.4.0 body block only shows HTML in Edit, deletes everything on save

Created on 3 July 2025, 10 days ago

Problem/Motivation

Editing a node, the Body block only shows HTML. Upon saving a change, all the code disappears and the saved page has a blank body.

Steps to reproduce

Drupal 10.5.1. PHP 8.3.22. Ckeditor5 Inline Styles 1.0.0 installed. Text Format: Full HTML. I received notice a module or theme had been updated. Used the Update Manager to update from 1.3.2 to 1.4.0. Attempted to edit a node and Body block only shows HTML. I made an edit and after clicking Save the HTML text disappears and saved page has blank body.

<!--break-->

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.4

Component

User interface

Created by

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

Comments & Activities

  • Issue created by @Fred_K
  • 🇵🇱Poland salmonek

    Hi @fred_k

    This is some error on editor initialization. I'll need more info to determine what is going wrong.
    Please disable js aggregation at /admin/config/development/performance then enter node edit page opten the browser's console and provide content of the console.

  • 🇵🇱Poland salmonek

    I have reproduced your configuration with Ckeditor5 Inline Styles
    If your console output is same as on the screenshot, then it is a Ckeditor5 Inline Styles issue. After update to Drupal 10.5 (which comes with CKEditor 5 v45.2.0) some of modules may have an incompatibility issues.

  • Hello @salmonek,

    I did not try to edit a node after upgrading to 10.5 so didn't notice a problem. I tried deselecting Aggregate JavaScript files and still see only source code in editing window. Went to /admin/modules/uninstall and for inline styles it 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

    Back to node edit, changed text format to Basic and after okaying the warning of loosing some formatting, source code disappears and WYSIWYG CKEditor appears.

    Thank you for your help and mark as solved and closed!

  • 🇵🇱Poland salmonek

    The following reason prevents Ckeditor 5 Inline Styles from being uninstalled:

    Go to the Full HTML text format configuration, remove Inline Styles form the Active Toolbar, and in Filers section disable the inline styles checkbox. Save the text format and then you'll be able to uninstall the module.

    As for the error - it is displayed in the browser's console (click right mouse button, select "Inspect" and then "Console" tab). You can report that error in that module issues.

    Ah, and you can re-enable the JS aggregation.

  • 🇵🇱Poland salmonek

    Closing as works as designed as there seems nothing to do on our side.

Production build 0.71.5 2024