Problem/Motivation
Test module editor_private_test depends on ckeditor which is on its way out of core.
Let's replace it with the up and coming star ckeditor5
Steps to reproduce
Proposed resolution
Replace ckeditor with ckeditor5 in
core/modules/editor/tests/editor_private_test/editor_private_test.info.yml
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3306715
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3306715-replace-ckeditor-with
changes, plain diff MR !2702
Comments
Comment #2
spokjeMarking this as critical since the parent issue is marked as such.
Comment #4
spokjeComment #5
spokjeComment #6
spokjeComment #7
wim leersI wonder why #3270734: Update Editor + CKEditor 5 module to not use CKEditor 4 in tests managed to not make this change… 🤔
Comment #8
wim leersAh, I think I found why! https://git.drupalcode.org/project/drupal/-/commit/5b0cd33 removed the dependency on
ckeditorandckeditor5altogether and it seems like this was simply an unnecessary dependency?Comment #9
catchComment #10
wim leersBeing slightly bold 🤓
Comment #11
catchComment #12
wim leers😬🙃
On it.
Comment #13
spokjeJust when I thought self-RTBC-ing was going to become big in 2022... 😈
Comment #14
wim leersThe test failure says:
Kinda cryptic, right?
Would you have guessed that this means that the problem is that the
editormodule is not installed? I definitely would not have reached that conclusion! WithoutxdebugI could not have figured this out.So this has been wrong in
editor_test.info.ymlsince day 1, a decade ago! 🙈Hoping for an RTBC from @Spokje this time 🤞
Comment #15
spokjeGreen enough for me -> RTBC
And a bonus follow-up issue to restructure the
core/modules/editor/tests/modulesdirectory: #3307310: Restructure core/modules/editor/tests/modules test modulesComment #16
spokjeComment #17
wim leersHah, +1 to eliminating wonkiness.
Comment #21
bnjmnmThe switch to 10 keeps surfacing stuff like this! Nice to see the cleanup happening, thanks @Spokje for catching this & getting it in the issue queue.
Committed to 10.1.x and cherry picked to 10.0.x and 9.5.x.