How to remove dependencies on CKEditor 4?

Created on 15 January 2024, over 1 year ago
Updated 21 April 2024, 12 months ago

CKEditor Templates works fine on CKEditor 5, but when installing it forcibly installs CKEditor 4, because the module has dependencies on CKEditor 4.

🐛 Bug report
Status

Closed: duplicate

Version

1.3

Component

Code

Created by

🇷🇺Russia kolotunbobo

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

Comments & Activities

  • Issue created by @kolotunbobo
  • 🇮🇳India ravi kant Jaipur

    @kolotunbobo
    Do you want use with ckEditor 4?
    I will suggest to use ckEditor 5.
    which Drupal version are you using?

  • 🇷🇺Russia kolotunbobo

    I'm using Drupal 10 and CKEditor 5. But when I install the CKEditor Templates 1.3 module with composer, CKEditor 4 is automatically installed. And when I enable the CKEditor Templates 1.3 module also enables the CKEditor 4 module.

    I have looked through some of the code of the CKEditor Templates 1.3 module, there are indeed CKEditor 4 dependencies there. Although the module works fine with CKEditor 5. It remains to remove these rudiments.

  • 🇷🇺Russia kolotunbobo

    In the file ckeditor_templates.info.yml there is a dependency
    dependencies:
    - drupal:ckeditor

    This is the dependency on CKEditor 4, which is the reason why composer installs it.

    If you create your own patch that removes this dependency from the ckeditor_templates.info.yml file, it happens after the module is installed, so CKEditor 4 will still be installed.

    Therefore, we can only wait for the developer to remove this dependency from the new version.

  • 🇮🇳India ravi kant Jaipur

    @kolotunbobo You are write.
    This module is not compatible with ckeditor5.

    But there is another ticket for this issue that is https://www.drupal.org/project/ckeditor_templates/issues/3273358 CKEditor 5 support for Content Templates Needs review

    So this ticket can close as duplicate.

  • Status changed to Closed: duplicate 12 months ago
  • 🇨🇦Canada mandclu

    Work on CKEditor 5 compatibility is underway at CKEditor 5 support for Content Templates Needs review , so closing this as duplicate as suggested by @ravi kant.

Production build 0.71.5 2024