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.
Ckeditor html embed issue.
This issue is similar to this issue in the Ckeditor media resize module.

Steps to reproduce

  1. Upgrade drupal core to 10.3
  2. Enabled css/js aggregation
  3. Setup a text editor with this plugin enabled
  4. See ckeditor5 fields are broken

Proposed resolution

As per this comment in the related issue removing preprocess: false resolves the issue.

Remaining tasks

  1. Remove the preprocess: false from the module libraries.yml file.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Command icon 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

sahilgidwani created an issue. See original summary.

sahilgidwani’s picture

Assigned: sahilgidwani » Unassigned
Status: Active » Needs review
StatusFileSize
new513 bytes

I have implemented the changes and have raised the MR.
Also, I have uploaded a patch to be used until the MR is merged.

brad.bulger’s picture

I'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.

chrissnyder’s picture

Status: Needs review » Postponed (maintainer needs more info)

Is this still an issue with the latest versions of Drupal? Is this reproducible without other CKEditor modules enabled?

mortona2k’s picture

I just got this with the 1.0.2 release and drupal 10.5.1.

mortona2k’s picture

Upgrading to 2.0.0 fixed it.

chrissnyder’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)

Closing this issue as it is fixed in the 2.0 version.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.