CKEditor 4+5 plugin module dependency not added to text format configuration

Created on 7 March 2018, over 6 years ago
Updated 6 July 2023, over 1 year ago

Problem/Motivation

When using modules that provides CKEditor plugins, such as https://www.drupal.org/project/ckeditor_font β†’ , the dependency on the module providing the plugin is not automatically added to the the editor format configuration, such as editor.editor.full_html.yml

langcode: fr
status: true
dependencies:
  config:
    - filter.format.full_html
  module:
    - ckeditor

Should be:

langcode: fr
status: true
dependencies:
  config:
    - filter.format.full_html
  module:
    - ckeditor
    - ckeditor_font
    - colorbutton

Proposed resolution

Add automatically a dependency on modules providing enabled CKEditor plugins.

Remaining tasks

  • Review the patch
  • Write automated tests?
  • Merge the patch

User interface changes

None

API changes

None

Data model changes

None

πŸ› Bug report
Status

Needs work

Version

9.5

Component
EditorΒ  β†’

Last updated about 6 hours ago

Created by

πŸ‡«πŸ‡·France Grimreaper France πŸ‡«πŸ‡·

Live updates comments and jobs are added and updated live.
  • Needs change record

    A change record needs to be drafted before an issue is committed. Note: Change records used to be called change notifications.

  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.