Closed (fixed)
Project:
Drupal core
Version:
9.3.x-dev
Component:
ckeditor5.module
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
31 Jan 2022 at 18:03 UTC
Updated:
31 Mar 2022 at 23:28 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
wim leersComment #6
hooroomooComment #7
hooroomooComment #8
hooroomooPlease ignore 3261600-9.4-branch
Comment #9
lauriiiComment #10
wim leers@hooroomoo I see you've created a single commit that does everything. It'd be better to first have a commit that only changes
package.json. And then a second commit that contains the build results. Because then rebasing becomes a lot simpler!I have no idea what triggers the
error though.
Time to investigate the console:
uh oh … apparently DrupalCI is still on
node 12.22.1. CKEditor 5 32.0.0 now requiresnode 14.Why did they do that? The answer is in https://github.com/ckeditor/ckeditor5/issues/10972: because
node 12LTS ends in April, in less than 3 months.Drupal core last bumped its node version in #3107918: Require Node.js 12.
I just opened #3261734: Require Node.js 16 to get Drupal core on version 14.
There is one very tricky consequence: the CKEditor 5 module is experimental, and can have commits to
9.3.x. But I doubt it is okay for Drupal 9.3.3 (latest stable release) to use node 12 and Drupal 9.3.4 to use node 14…I defer to JS maintainers in Drupal core to decide how to proceed here. I think this is new territory…
Comment #11
wim leersFYI #3261734: Require Node.js 16 has itself been blocked for 3 weeks now: #3261753: Update Node.js to v16 on DrupalCI.
Clarifying that in the title.
Comment #12
wim leers#3261753: Update Node.js to v16 on DrupalCI has made some progress, but still not there yet.
Comment #13
wim leers#3261753: Update Node.js to v16 on DrupalCI is fixed.
Now awaiting #3261734: Require Node.js 16.
Comment #14
wim leers#3261734: Require Node.js 16 landed in 9.4 and 10, hopefully soon also in 9.3.
In any case, this is now finally unblocked! We'll need to redo this MR now. Probably simpler if we start a new one.
Comment #15
lauriiiLet's see if this installs on DrupalCI 🤞
Comment #16
nod_That seems like the right solution: https://docs.npmjs.com/cli/v8/configuring-npm/package-json#optionaldepen...
Comment #18
wim leersRandom unrelated failure:
Re-testing…
Comment #20
lauriiiThere was one deprecation warning caused by updating to CKEditor 5 32.0.0 and I addressed that. Unfortunately, the CKE deprecation warnings are not caught by DrupalCI which should probably warrant another followup.
Comment #21
wim leersHm … again
But it's impossible that this patch causes that. That test doesn't even install the
ckeditor5module, and the patch doesn't touch anything besides CKEditor 5!Re-testing again, now on 2 environments. Perhaps one of the test environments has something weird going on?
EDIT: cross-posted with #20.
Comment #22
lauriiicspell 🤦♂️
Comment #25
wim leersLooks like 9.3 fails consistently, and looks like this is broken in HEAD too: https://www.drupal.org/pift-ci-job/2332384 (on all branches actually it seems?!) — perhaps this is related to #3258114: Upgrade Chromedriver?
Comment #26
xjmYeah, CI is a disaster since the Chromedriver deployment. We're working on it.... :P
Comment #27
xjmRemember to always use a parent issue that is a descendent of the D10 meta. :)
Comment #28
wim leersRe-testing, should be geen now … 🤞
Comment #29
wim leersApplied #22 and:
<ol start>,<ol type>and<ol reversedcan work if I add the necessary plugins (https://ckeditor.com/docs/ckeditor5/latest/features/lists/lists.html#com...) and the necessary configuration (https://ckeditor.com/docs/ckeditor5/latest/api/module_list_listpropertie...):Adding that is out of scope for this issue. It will require not only plugin definition changes, but also upgrade path additions to
\Drupal\ckeditor5\Plugin\CKEditor4To5Upgrade\Core, test coverage for that, et cetera. We have #3261599: Use CKEditor 5's native <ol start> support (and also support <ol reversed>) for that.I'm relieved I'm able to RTBC this on my first (thorough!) review — this one has been blocking so many things for so long! 🚀
Comment #32
catchGood to see this unblocked and nice that 9.3.x backport works.
Committed/pushed the three patches to their respective branches, thanks!
Comment #34
lauriiiComment #36
xjmWe're on v33 now for HEAD and have been since alpha2, so removing the intermediate update from the release notes for 10.0 and 9.4.