- Issue created by @froboy
When the buttons that this module implements are added to an editor, the resulting config does not set a dependency, which can result in problems in distributions or config exports.
- Enable the module and add the buttons as noted on the project page
- Export config
- Observe editor.editor.full_html.yml
(or your own format's config) contains entries for fontColor, fontBackgroundColor
but does not have a dependency on ckeditor5_font
.
Exporting this code and importing it (via Features or a Profile, without core.extension.yml
will not properly enable this module, and will result in an error on the editor config page (/admin/config/content/formats/manage/full_html):
In the console:
Uncaught TypeError: Cannot read properties of undefined (reading 'id')
On the screen:
When the provided buttons are enabled in the toolbar, the editor config should set a dependency on this module.
Do it.
Active
1.1
Code