Release highlights
We are happy to announce the release of CKEditor 5 v23.1.0.
This release introduces a new HTML embed feature.
It also comes with new API features:
- The
data-cke-ignore-events
attribute in view element that prevents CKEditor from handling events fired in this element. - The
triggerBy
option that triggers element re-render.
Other than that, this release brings several bug fixes, to name a few:
- Unsupported element causes a JavaScript error instead of being filtered out.
- Backspace does not remove all blocks in rare cases.
- List conversion throws an error if the list element is surrounded by raw text nodes.
- Opening the upload panel should focus the URL input.
- Validation for empty URL in the "Insert image via URL" dropdown.
- URLs with a
%
character are not transformed into media embeds.
Please note that there are some minor breaking changes. Be sure to review them before upgrading.
Collaboration features
The CKEditor 5 Collaboration features changelog can be found here: https://ckeditor.com/collaboration/changelog.
MINOR BREAKING CHANGES ℹ️
- table: Removed the
ensureParagraphInTableCell()
converter that corrected the model state after the conversion process. Now the model will be fixed (if needed) by the post-fixer (injectTableCellParagraphPostFixer()
). - utils: The
attachLinkToDocumentation()
helper was removed. To log errors with an attached documentation link to the console, uselogWarning()
andlogError()
.
Features
- engine: Elements with the
data-cke-ignore-events
attribute will not propagate their events to the CKEditor 5 API. Closes #4600. (commit) - engine: Introduced an automatic model-to-view reconversion by defining the
triggerBy
option for theelementToElement()
conversion helper. Closes #7956. (commit) - html-embed: Introduced the HTML embed feature. Closes #8204. (commit)
Bug fixes
- engine:
Model#deleteContent()
should properly remove content with multiple blocks selected. Closes #8145. (commit) - image: Removed focus outline in the "insert image via URL" form. Closes #7973. (commit)
- image: The insert button in the insert image dropdown is now disabled when the URL input is empty. Closes #7917. (commit)
- image: The URL input field is now focused when the image dropdown is opened. Closes #7896. (commit)
- link: Improved the look of link balloon button separators on mobiles. Closes #7704. (commit)
- link: Pressing Ctrl/Cmd+K when
LinkCommand
is disabled no longer shows the link UI. Closes #7919. (commit) - link: The autolink feature now uses
link.defaultProtocol
if set. Closes #8079. (commit) - list: List conversion does not throw an error if the list element is being surrounded by raw text nodes. Closes #8262. (commit)
- media-embed: Disabled the save button in the insert media dropdown when the input is empty. See #7917. (commit)
- media-embed: URLs with the
%
character are now allowed for embedding media. Closes #7488. (commit) - media-embed: Enabled the media embed command when the selected media is in a table cell. Closes #7604. (commit)
- table: Pasting nested tables with content unsupported by the editor elements no longer throws an exception. Closes #8098. (commit)
Other changes
- table: Table cell's content refreshing for the editing view now makes fewer view updates. (commit)
- utils: Improved the readability of custom errors in the console. Closes #8140. (commit)
- Optimized icons. (commit)
- Updated translations. (commit, commit)
Released packages
Check out the Versioning policy guide for more information.
New packages:
Minor releases (contain minor breaking changes):
Releases containing new features:
Other releases:
Released packages (summary)