Support for CKEditor 5 in Drupal 9?

Created on 25 January 2023, almost 2 years ago
Updated 27 June 2023, over 1 year ago

I'm dealing with a Drupal 8 to Drupal 9 migration.
The Drupal 9 core is 9.5.2. In this context CKEditor 4 is considered deprecated.
I noticed CKEditor 5 is available in core, and I read Wherever you use CKEditor 4/CKEditor 5 to edit content, you will be able to upload files and manage them there too. But if I try to install Flmngr in the Drupal 9 instance I see it requires the deprecated CKEditor 4. Should I stay with CKEditor 4 neglecting the warning about its being deprecated?
Is there anything I can do in order to see Flmngr working with CKEditor 5 in Drupal 9?

Thanks in advance!

Andrea

💬 Support request
Status

Active

Version

2.10

Component

Miscellaneous

Created by

🇮🇹Italy AppLEaDaY

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

Comments & Activities

  • Issue created by @AppLEaDaY
  • Hi AppLEaDaY!

    Such a list of dependencies in the module is made due need to provide the working of the module with both CKEditor 4 and CKEditor 5, including Drupal 8 where CKEditor 4 is the must for the Flmngr module.

    Probably in the future, we will think again about removing CKEditor 4 from the dependency list, but now you can approve CKEditor 4 installation in the module manager when installing Flmngr, but continue using CKEditor 5.

    If this is not a solution for some reason, please write your thoughts. I really would like to make a dependency like "CKEditor 4 or 5, but at least one of them", but this is unfortunately not an option in Drupal packages.

  • 🇮🇹Italy AppLEaDaY

    Hi, Dmitriy.

    Using composer to require Flmngr means CKEditor 4 is automatically involved.
    I thought I could leave CKEditor 4 not installed, but when I enable Flmngr I get the message You must enable the CKEditor 4 (contrib), N1ED modules to install Flmngr. (please see the image attached), so I'm not sure by enablig CKEditor 4 I will however able to use instead the enabled CKeditor 5 with the support of Flmngr in it. Will I able to choose anyway CKEditor 5 in Text formats and editors? Will I see Flmngr with it anyway?

    Thanks in advance!

    Andrea

  • 🇩🇪Germany lissy

    I have the same problem in Drupal 10.0.9:
    If i install flmngr via composer like this:
    composer require 'drupal/flmngr:^2.10'
    composer installs autmatically ckeditor 4:

    Using version ^2.10 for drupal/flmngr
    ./composer.json has been updated
    Running composer update drupal/flmngr
    Loading composer repositories with package information
    Updating dependencies
    Lock file operations: 3 installs, 0 updates, 0 removals
      - Locking drupal/ckeditor (1.0.2)
      - Locking drupal/flmngr (2.10.0)
      - Locking drupal/n1ed (2.63.0)
    Writing lock file
    Installing dependencies from lock file (including require-dev)
    Package operations: 3 installs, 0 updates, 0 removals
      - Installing drupal/ckeditor (1.0.2): Extracting archive
      - Installing drupal/n1ed (2.63.0): Extracting archive
      - Installing drupal/flmngr (2.10.0): Extracting archive
    Generating autoload files
    46 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!

    How can i avoid this behaviour?
    require an other version of drupal/ckeditor than 1.0.2?
    Why dont use the module the version 5 which comes with drupal 10?

Production build 0.71.5 2024