Problem/Motivation

Per #2966864: Add optional support for CKEditor 5 in D9 so we can remove CKE 4 from Drupal 10, CKEditor 5 has been added to Drupal core in #3231364: Add CKEditor 5 module to Drupal core, is being stabilized in #3238333: Roadmap to CKEditor 5 stable in Drupal 9, is being deprecated in #3270437: [meta] Tasks to deprecate the CKEditor 4 module and will be removed in Drupal 10.

This issue is to coordinate and track the steps needed to remove CKEditor (4) after it is deprecated. See Remove a core module and move it to a contributed project of the deprecation policy.

Proposed resolution

Do the work necessary to remove CKEditor (4) from core.

Remaining tasks

  1. Do a final subtree split of core/modules/ckeditor from the 9.5.x branch into the contrib Git repo at https://www.drupal.org/project/ckeditor. #3306630: Split the core 9.5.x ckeditor history into a new 1.0.x branch and cut a 1.0.0 release
  2. Release CKEditor 4 1.0.0https://www.drupal.org/project/ckeditor/releases/1.0.0
  3. Open an issue against https://www.drupal.org/project/project_composer. #3308347: Ensure that ckeditor does not get special core treatment
  4. Manually test upgrading from the core module to the contrib module. #3270438-41: Remove CKEditor 4 from core
  5. Remove CKEditor (4) module from core. #3270438: Remove CKEditor 4 from core
  6. Move core issues for CKEditor (4) module from the core queue to the contrib module.
  7. Move all core documentation for CKEditor (4) module to the contrib project.
  8. When the project_composer step is Fixed, update the documentation with the new composer command.

User interface changes

No more CKEditor (4).

API changes

TBD, possibly in child issues

Data model changes

TBD, possible in child issues

Release notes snippet

Needed.

Comments

Wim Leers created an issue. See original summary.

wim leers’s picture

Hm …

are present in #3274155: [Meta] Tasks to remove Quick Edit from core and move to contrib so I copied them over here, but are they still necessary after #3292380: Remove the "replace" section from core/composer.json?

wim leers’s picture

Issue summary: View changes
wim leers’s picture

wim leers’s picture

ℹ️ I'm working on having a green MR at #3270438: Remove CKEditor 4 from core to help us get 99% of the way there while we wait for #3306630: Split the core 9.5.x ckeditor history into a new 1.0.x branch and cut a 1.0.0 release to be sorted out.

wim leers’s picture

wim leers’s picture

Issue summary: View changes
wim leers’s picture

Issue tags: +Drupal 10 beta blocker

Oops, I should've used #3274182: [Meta] Tasks to remove CKEditor 4 from core and move to contrib and not created this issue … well, moved relevant issue tags over 👍

wim leers’s picture

Issue summary: View changes

Per @catch in #3270438-47: Remove CKEditor 4 from core, we're now just waiting for the Drupal Security Team to respond at #3306909: Get Drupal Security Team approval to commit vendor/ckeditor.js to the drupal/ckeditor project, then the removal commit will happen.

wim leers’s picture

wim leers’s picture

wim leers’s picture

Status: Active » Patch (to be ported)

Marking Patch (to be ported) to signal that no further work here is necessary for 10.0.0-beta1 to be tagged — all remaining work lies in moving issues to the contrib module, moving docs on d.o and waiting for the Drupal Association to finish the composer facade changes.

wim leers’s picture

@quietone has started doing the bulk move! 🤩 Thank you!!! 🙏

wim leers’s picture

Issue summary: View changes

@quietone finished it! 🙏🥳

wim leers’s picture

Retitled https://www.drupal.org/docs/7/modules/ckeditor/overview and https://www.drupal.org/docs/7/modules/ckeditor/drupal-7-ckeditor-vs-cked... to make it clear in the title & menu that they're for the D7 contrib module.

I intended to move https://www.drupal.org/docs/8/core/modules/ckeditor into https://www.drupal.org/docs/7/modules/ckeditor. But could not figure out how. I then tried moving all child pages, but … there too I could not figure out how. I do not seem to be able to (or allowed to) move for example https://www.drupal.org/docs/8/core/modules/ckeditor/overview out of https://www.drupal.org/docs/8/core/modules/ckeditor and into https://www.drupal.org/docs/7/modules/ckeditor 🤷

wim leers’s picture

quietone’s picture

However, there is EXPERIMENTAL: CKEditor 5 in core modules. It is not in the menu and It has two pages.

The first doesn't appear to be relevant anymore. What about the second? Is anything there useful?

wim leers’s picture

#17: correct, the first can be archived, the second is still relevant. Thanks for doing this! 🙏

quietone’s picture

OK, I have moved it. But it needs the guide maintainers, bnjmnm or lauriii, to add it to the menu.

wim leers’s picture

@quietone Now https://www.drupal.org/docs/8/core/modules/ckeditor redirects to https://www.drupal.org/docs/contributed-modules/ckeditor, the child pages are still the same. Turns out this is because the child pages are still referencing 2829446 as the guide instead of 2829448.

If I move it to the correct menu, I get a validation error: The menu you chose does not belong to the selected groups.

I did already update the child pages to make it clear they're targeting D10 contrib.

quietone’s picture

There is one issue in ckeditor that needs to be resolved. It is assigned to xjm and I have pinged her about it. #3230035: Document CKEditor library build requirements

The documentation was moved last night and xjm fixed the aliases. I am double checking the changes. This is what I found.

  1. In contrib, in the menu block it is still showing as 'CKEditor Module' although the title has changed. Perhaps a cache clear is needed.
  2. The documentation pages now have [Drupal 10] in the title which does not match the composer install statement on the contrib project page, Works with Drupal: ^9.4 || ^10, which is also on Deprecated and obsolete modules and themes . Because of that I've the CKEditor contrib wiki pages to begin with a statement that clarifies that the documentation is for the contrib version, that core is using CKEdito5 and to remove the "[Drupal 10]".
    @Wim Leers, I hope that is correct and fits with your intentions.
quietone’s picture

Issue summary: View changes

Heard back from xjm and the issue referred to in #21 stays in the core queue. Therefore I think everything is complete here, except the porting. If Wim Leers disagrees with the changes I made to the docs we can discuss but it does not hold up this issue, the documentation has been moved.

wim leers’s picture

Status: Patch (to be ported) » Fixed

#21: I prefixed it with [Drupal 10] specifically because you really ought to only install this contrib module if you intend to keep using CKEditor 4 in Drupal 10. You don't need it in Drupal 9.4 or 9.5. It's only 9.4 and 9.5-installable for compatibility/composer facade shenanigans …
I'm fine with the changes you made/proposed — I didn't feel strongly about it anyway, because … it's going to be confusing anyway 😅 The d.o handbooks really aren't designed to handle multiple (major) Drupal versions well 😶‍🌫️

Thank you very much for your help in sorting this out! 🙏

So, marking this fixed! 🥳

quietone’s picture

@Wim Leers, thanks. I agree this could be confusing. On the positive side it is a wiki page so others can improve upon it.

wim leers’s picture

Yep!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.