Don't exclude ckeditor5 plugin JS from aggregation

Created on 22 January 2024, 5 months ago

Problem/Motivation

Excluding the plugin from aggregation in combination with calls to Drupal.t() seems to break things under certain circumstances. Core plugins that use Drupal.t() inside their JS are not exlcuded from aggregation, for example internal.drupal.ckeditor5.image.

Steps to reproduce

Unfortunately I can't provide exact steps here, but I think it's good enough to do what core does in this situation, I don't see anything speaking against including the JS in aggregation, I could be missing something though.

Proposed resolution

Include the plugin JS in aggregation by changing the library definition.

πŸ“Œ Task
Status

Active

Version

2.0

Component

Code

Created by

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024