Problem/Motivation
After updating Drupal Core to 10.3 and having aggregation turned on noticed that all ckeditor5 fields are broken, and breaking all functionality on the page like the Media library and admin toolbar.

This issue is similar to this issue in the Ckeditor media resize module.
Steps to reproduce
- Upgrade drupal core to 10.3
- Enabled css/js aggregation
- Setup a text editor with this plugin enabled
- See ckeditor5 fields are broken
Proposed resolution
As per this comment in the related issue removing preprocess: false resolves the issue.
Remaining tasks
- Remove the
preprocess: falsefrom the module libraries.yml file.
User interface changes
N/A
API changes
N/A
Data model changes
N/A
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3469635-1.patch | 513 bytes | sahilgidwani |
| Screenshot 2024-08-22 at 2.42.41 PM.jpg | 172.74 KB | sahilgidwani |
Issue fork ckeditor_html_embed-3469635
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
sahilgidwani commentedI have implemented the changes and have raised the MR.
Also, I have uploaded a patch to be used until the MR is merged.
Comment #4
brad.bulger commentedI'm not sure what "CKEditor fields" are but nothing like the problem described is happening for me. This may be a duplicate of #3458385: Drupal core 10.3 breaks compatibility with CKEditor5 API or it may depend on a specific constellation of other CKEditor modules being enabled.
Comment #5
chrissnyderIs this still an issue with the latest versions of Drupal? Is this reproducible without other CKEditor modules enabled?
Comment #6
mortona2k commentedI just got this with the 1.0.2 release and drupal 10.5.1.
Comment #7
mortona2k commentedUpgrading to 2.0.0 fixed it.
Comment #8
chrissnyderClosing this issue as it is fixed in the 2.0 version.