D10: recommendation for CKEditor 4 is wrong, because CKEditor 4 is no longer part of Drupal core

Created on 28 February 2024, 9 months ago
Updated 13 March 2024, 8 months ago

Problem/Motivation

The problem is this recommendation in curated.json:

        {
            "package": "drupal/core",
            "constraint": "*",
            "note": "This module provides WYSIWYG editing for rich text fields using CKEditor 4 for a Drupal 7 site. Drupal core now contains a superset of its functionality, in the CKEditor 5 module.",
            "install": [
                "ckeditor"
            ],
            "replaces": {
                "name": "ckeditor"
            },
            "vetted": true
        },

Since Drupal 10.0 this is no longer accurate , because #3270438: Remove CKEditor 4 from core removed the ckeditor module from Drupal core, in favor of https://www.drupal.org/project/ckeditor .

And since January 1, 2024, that module is no longer supported either, because security coverage ended on December 31, 2023. We must now install https://www.drupal.org/project/ckeditor_lts . And that requires a license

Steps to reproduce

Proposed resolution

Rather than recommending https://www.drupal.org/project/ckeditor_lts , recommend CKEditor 5. It does not make sense to first migrate from Drupal 7-era CKEditor 4 (with a very different way to configure it) to an immediately-unsupported-except-for-some-time-if-you-pay-for-it CKEditor 4 in Drupal 10.

The solution is simple: just install the CKEditor 5 module. 😊
That way, the drush pm:install -y ckeditor that https://github.com/acquia/cli generates will NOT fail anymore 👍

Remaining tasks

None.

User interface changes

None. (CKEditor 5 was already installed.)

API changes

None.

Data model changes

None.

🐛 Bug report
Status

Fixed

Version

1.9

Component

Recommendations — Drupal 10

Created by

🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024