Problem/Motivation
We're currently on 40.2.0, since #3406732: Update CKEditor 5 to 40.2.0 on December 13, 2023.
CKEditor 5 has released:
- 41.0.0 on Jan 17, 2024: https://github.com/ckeditor/ckeditor5/releases/tag/v41.0.0
- 41.1.0 on Feb 7, 2024: https://github.com/ckeditor/ckeditor5/releases/tag/v41.1.0
- 41.2.0 on March 6, 2024: https://github.com/ckeditor/ckeditor5/releases/tag/v41.2.0
Changes that likely impact Drupal:
- minor breaking change in 41.0.0 that likely breaks contrib modules:
engine: Renamed export of the View class to EditingView. See #15511.
→ this is why a single change in Drupal core's CKEditor 5 plugins was required this time around: https://git.drupalcode.org/project/drupal/-/merge_requests/6832/diffs?co... - minor breaking change in 41.0.0:
link: Added validation to the URL field to disallow empty URLs by default. See #12501.
→ this is the behavior we've been expecting for years, so this is good to see: no more nonsensically empty links (<a href="">ceci n'est pas un lien!</a>
) — see https://github.com/ckeditor/ckeditor5/issues/12501
Proposed resolution
- Update
core/package.json
yarn --cwd core install && yarn --cwd core build && yarn --cwd core build:ckeditor5-types
Remaining tasks
None.
User interface changes
None.
API changes
None.
Data model changes
None.
Release notes snippet
CKEditor 5 has been updated to 41.2.0