Editor doesn't load with Word Count enabled and in scope of Layout Builder

Created on 6 March 2025, about 1 month ago

Problem/Motivation

Extracting a separate issue form https://www.drupal.org/project/ckeditor5_plugin_pack/issues/3494274#comm... 🐛 Unable to load with JS aggregation enabled Active

After some research, it seems that it is "CKEditor 5 Word Count" that is responsible for this error in my case. Uninstalling that module makes Ckeditor load again and the rest of the plugin I use "WProofreader" and "Paste Filter" are working fine.

This doesn't happen all the time for me. It seems to happen when adding a new block to a page using layout builder and I do have the layout_builder_iframe_modal module as well. When editing a block, it works well, it is only when adding a new one that the problem occurs.

@phjou
Can you provide a editor.editor.{TEXT_FORMAT}.yml config file?
Do you have any possibly related errors in your browser's developer console and/or Drupal log?
Does the problem also reproduce with for example just a few basic styles plugins and word count?

I have tried to reproduce yesterday also using layout_builder_iframe_modal however with no WProofreader and Paste Filter. I'll try with them now. BTW do you use Plugin Pack's submodule for WProofreader or Premium Features one?

🐛 Bug report
Status

Active

Version

1.3

Component

Code

Created by

🇵🇱Poland salmonek

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

Comments & Activities

Production build 0.71.5 2024