Problem/Motivation
https://github.com/ckeditor/ckeditor5/releases/tag/v37.0.0
https://github.com/ckeditor/ckeditor5/releases/tag/v37.0.1
https://github.com/ckeditor/ckeditor5/releases/tag/v37.1.0
👇 Highlights:
- Fully converted to TypeScript — does not affect Drupal core at all, but means a better DX for plugin developers 👍 This is something they've been working on for a very long time, and it will enable them to iterate faster in the future, with more confidence that no BC breaks are introduced! 🚀
- #3339763: [upstream] CKEditor 5 mangles table structure should be fixed — at least partially (see #3339763-11: [upstream] CKEditor 5 mangles table structure).
- 37.1.0 made a change to
<span lang="fr">Bonjour</span>— that'd have been italic until this release. This may require us adding.ck-content span[lang] { font-style: italic; }tocore/modules/ckeditor5/css/language.css… or not. Because we already have this in place:
.ck-content [lang] { outline: 1px dotted gray; }Arguably this is actually a net improvement, and avoids user confusion — that's also why this was done in the first place: https://github.com/ckeditor/ckeditor5/issues/12672.
That needs a decision from a front-end framework manager.
- Many bugfixes!
Steps to reproduce
Proposed resolution
- Update
core/package.json cd coreyarn installyarn buildyarn build:ckeditor5-types
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
CKEditor has been updated to 37.1.0
Issue fork drupal-3355358
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:
- 3355358-CKE5-37
changes, plain diff MR !3856
Comments
Comment #3
wim leersComment #4
wim leersAnalyzed the release notes. AFAICT we need manual testing for:
Table("Table") plugin: #3339763: [upstream] CKEditor 5 mangles table structure — verify if it is fixed in its entirety or partiallyTextPartLanguage("Language") plugin: 37.1.0 made a change to<span lang="fr">Bonjour</span>— that'd have been italic until this release. This may require us adding.ck-content span[lang] { font-style: italic; }tocore/modules/ckeditor5/css/language.css… or not. Because we already have this in place:Arguably this is actually a net improvement, and avoids user confusion — that's also why this was done in the first place: https://github.com/ckeditor/ckeditor5/issues/12672.
That needs a decision from a front-end framework manager. Tagging accordingly.
Comment #5
lauriiiI think we want to refrain from making the text italic to benefit from the UX fix. It looks like we have an alternative affordance in place already so that's good 👍
Comment #6
bnjmnmI agree the outline is an improvement as it is visually distinguishing the [lang] use in a manner that won't be confused with intentionally italicized text.
Comment #7
wim leersExcellent, thanks both of you! Then also untagging .
Comment #8
smustgrave commentedApplied the MR locally and following #3339763: [upstream] CKEditor 5 mangles table structure
Pasted
and got
Gross
Applied the patch and tried again but this time I got
Which seems correct as the th's were wrapped in a thead vs tbody like before.
Spot checked some other plugins but didn't notice anything.
Comment #10
catchLet's get this in before the alpha so it gets as much testing as possible.
Committed/pushed to 10.1.x, thanks!
Comment #11
wim leersThanks, @smustgrave & @catch!