Releases: ckeditor/ckeditor5
v43.3.1
We are happy to announce the release of CKEditor 5 v43.3.1.
Release highlights
We had to revert a change introduced in v43.3.0
related to the icons export in one of our packages. This was due to unforeseen TypeScript issues in some setups.
Bug fixes
Other changes
- cloud-services: The
Token
class is now exported as a value instead of a type only. (commit)
Released packages
Check out the Versioning policy guide for more information.
Released packages (summary)
Other releases:
- @ckeditor/ckeditor5-adapter-ckfinder: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-ai: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-alignment: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-autoformat: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-autosave: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-basic-styles: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-block-quote: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-build-balloon: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-build-balloon-block: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-build-classic: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-build-decoupled-document: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-build-inline: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-build-multi-root: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-case-change: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-ckbox: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-ckfinder: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-clipboard: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-cloud-services: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-code-block: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-collaboration-core: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-comments: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-core: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-document-outline: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-easy-image: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-editor-balloon: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-editor-classic: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-editor-decoupled: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-editor-inline: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-editor-multi-root: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-engine: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-enter: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-essentials: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-export-pdf: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-export-word: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-find-and-replace: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-font: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-format-painter: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-heading: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-highlight: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-horizontal-line: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-html-embed: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-html-support: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-image: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-import-word: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-indent: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-language: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-link: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-list: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-list-multi-level: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-markdown-gfm: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-media-embed: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-mention: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-merge-fields: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-minimap: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-operations-compressor: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-page-break: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-pagination: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-paragraph: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-paste-from-office: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-paste-from-office-enhanced: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-real-time-collaboration: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-remove-format: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-restricted-editing: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-revision-history: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-select-all: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-show-blocks: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-slash-command: v43.3.0 => v43.3.1
- @ckeditor/ckeditor5-source-editing: v43.3.0 => v43.3.1
- [@ckeditor/ckeditor5-special-characters](https://www.npmjs.com/package/@ckeditor/ckeditor5-special-characters/v/43....
v43.3.0
We are happy to announce the release of CKEditor 5 v43.3.0.
Release highlights
Performance improvements
We have improved how the editor handles the document structure by making it more reliable and efficient to access specific elements and verify their positions.
- Node index and offset caching: The
Node
andNodeList
elements now cache index and offset values, reducing the need for recalculations and significantly boosting overall performance during model operations. - Selection range validation: The newly implemented
Position#isValid()
method is also utilized to better validate selection ranges, ensuring more consistent behavior in various editing scenarios. - Performance improvements in numbers: The editor now loads content between 3x and, in some cases, up to 6x faster, depending on the type and size of the content. For instance, where a specific 200-page document previously took almost 25 seconds to load, the time has now been reduced to just 3.5 seconds.
We’re committed to ongoing performance enhancements, so you can expect even faster, smoother experience in future updates.
Export to Word watermark support
A new configuration option has been added to include a watermark when exporting documents to Word, providing additional flexibility in document branding and protection.
Notable bug fixes and improvements
- Suggestions retention on revision restore: Suggestions are no longer lost in specific cases when restoring revisions with changes from multiple users. The revision tracking process has been improved to ensure that all operations, including markers, are handled and saved correctly during synchronization. This fix resolves issues where markers were previously not retained, ensuring consistent data handling in collaborative editing scenarios.
- Action dropdown visibility fix: Resolved an issue where the action dropdown remained hidden after permission changes on comments. The dropdown now properly reflects updated permissions, allowing users to interact with the available actions seamlessly.
- AI command enhancements:
- Custom AI Commands are now correctly applied to individual dropdowns when only one group of comments is present, instead of the entire group.
- Empty comment groups no longer render, improving UI clarity.
- Fixed an issue where nested AI command menus would close unexpectedly when used within a balloon toolbar, preventing unintended behavior during selection.
Features
- engine: Introduced the
getChildAtOffset()
method formodel.Element
andmodel.DocumentFragment
. (commit) - engine: Introduced the
Position#isValid()
method to check whether the position exists in the current model tree. (commit) - export-word: Added a configuration setting for adding a watermark to generated documents.
- revision-history: Introduced the
RevisionTracker#getRevisionDocumentData()
andRevisionTracker#getRevisionRootsAttributes()
methods to the public scope of the editor API. You can use them to retrieve document data saved with the revision. - utils: Made
FocusTracker
extendable with otherFocusTracker
instances to allow logical focus tracking across separate DOM sub-trees (see #17277). (commit)
Bug fixes
- ai: Empty AI Assistant command groups should not render in the UI.
- ai: The AI Assistant command list should be flat when only one command group is available.
- comments: Fixed an issue where the action dropdown remained hidden when permissions allowing actions on a comment changed.
- engine: The content of an inline object should be handled as a flow root so whitespaces should be trimmed as the content of an inline object element is inside a block element. Closes #17199. (commit)
- image: Handle existing picture element correctly on
sources
downcast. (commit) - link: No longer crash editor after removing link from image when
LinkConfig#addTargetToExternalLinks: true
is set. Closes #17252. (commit) - list-multi-level: Multi-level lists should display correctly in RTL mode for Decoupled Editor.
- pagination: Improved pagination of large tables that are followed by block elements.
- revision-history: Suggestions are no longer lost in some scenarios when restoring revisions in real-time collaboration.
- ui: The dropdown menu component should not cause editor blur if used in a
BalloonToolbar
while the user hovers a nested menu. Closes #17277. (commit) - ui: Made the page unscrollable while the modal is visible. Closes #17093. (commit)
Other changes
- engine: Node index and offset related values are now cached in model
Node
andNodeList
to improve performance. (commit) - link: Exported link and unlink icons from the
ckeditor5-link
package. Closes #17304. (commit) - ui: Disabled dragging support for modal windows in the
Dialog
plugin. Closes #17290. (commit) - ui: Disabled positioning restrictions for modal windows caused by
config.ui.viewportOffset
. Closes #17290. (commit)
Released packages
Check out the Versioning policy guide for more information.
Released packages (summary)
Releases containing new features:
- @ckeditor/ckeditor5-engine: v43.2.0 => v43.3.0
- @ckeditor/ckeditor5-theme-lark: v43.2.0 => v43.3.0
- @ckeditor/ckeditor5-ui: v43.2.0 => v43.3.0
- @ckeditor/ckeditor5-utils: v43.2.0 => v43.3.0
Other releases:
- @ckeditor/ckeditor5-adapter-ckfinder: v43.2.0 => v43.3.0
- @ckeditor/ckeditor5-ai: v43.2.0 => v43.3.0
- @ckeditor/ckeditor5-alignment: v43.2.0 => v43.3.0
- @ckeditor/ckeditor5-autoformat: v43.2.0 => v43.3.0
- @ckeditor/ckeditor5-autosave: v43.2.0 => v43.3.0
- @ckeditor/ckeditor5-basic-styles: v43.2.0 => v43.3.0
- @ckeditor/ckeditor5-block-quote: v43.2.0 => v43.3.0
- @ckeditor/ckeditor5-build-balloon: v43.2.0 => v43.3.0
- @ckeditor/ckeditor5-build-balloon-block: v43.2.0 => v43.3.0
- @ckeditor/ckeditor5-build-classic: v43.2.0 => v43.3.0
- @ckeditor/ckeditor5-build-decoupled-document: v43.2.0 => v43.3.0
- [@ckeditor/ckeditor5-build-...
v41.3.2
We are happy to announce the release of CKEditor 5 v41.3.2.
This release includes a security fix backported from version 43.1.1. Please take a look at the 43.1.1 release changelog to learn more about the changes.
Released packages
Check out the Versioning policy guide for more information.
Released packages (summary)
Other releases:
- @ckeditor/ckeditor5-adapter-ckfinder: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-ai: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-alignment: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-autoformat: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-autosave: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-basic-styles: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-block-quote: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-build-balloon: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-build-balloon-block: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-build-classic: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-build-decoupled-document: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-build-inline: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-build-multi-root: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-case-change: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-ckbox: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-ckfinder: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-clipboard: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-cloud-services: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-code-block: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-collaboration-core: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-comments: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-core: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-document-outline: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-easy-image: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-editor-balloon: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-editor-classic: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-editor-decoupled: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-editor-inline: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-editor-multi-root: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-engine: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-enter: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-essentials: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-export-pdf: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-export-word: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-find-and-replace: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-font: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-format-painter: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-heading: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-highlight: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-horizontal-line: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-html-embed: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-html-support: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-image: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-import-word: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-indent: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-language: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-link: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-list: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-list-multi-level: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-markdown-gfm: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-media-embed: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-mention: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-minimap: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-operations-compressor: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-page-break: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-pagination: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-paragraph: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-paste-from-office: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-paste-from-office-enhanced: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-real-time-collaboration: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-remove-format: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-restricted-editing: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-revision-history: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-select-all: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-show-blocks: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-slash-command: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-source-editing: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-special-characters: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-style: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-table: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-template: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-theme-lark: v41.3.1 => v41.3.2
- @ckeditor/ckeditor5-track-changes: v41.3.1 => v41.3.2
- [@ckeditor/ckeditor5-typing](https://www.np...
v43.2.0
We are happy to announce the release of CKEditor 5 v43.2.0.
Release highlights
Notable improvements
- Operational Transformation Stability: Significant changes have been made to the OT system, enhancing the undo functionality and real-time collaboration, especially in conflict resolution scenarios. These improvements ensure smoother editor operations during complex interactions.
- Performance Improvements: We have merged several community-driven performance enhancements (thanks @sunesimonsen), that optimize the editor’s core engine. While no changes to the editor’s logic were made, these updates improve overall efficiency and responsiveness.
More imports available via ckeditor5
and ckeditor5-premium-features
indexes
As users transition to new installation methods (v42.0.0+) with ckeditor5
and ckeditor5-premium-features
as the main packages, we are continuously addressing missing imports for less common classes, functions, types, and utilities, broadening their availability. Since our TypeScript rewrite (v37.0.0), imports can now be made directly through the package indexes, simplifying integration. As many users historically imported from src
, we encourage you to try the new version and report any missing imports. In the future, we are considering removing src
from published packages to reduce package size, so the more feedback we receive, the better and more stable API we will provide.
Features
- engine: Added the
usePassive
option toDomEventObserver
that enables listening to passive events. Closes #16412. (commit) - media-embed: It is now possible to embed YouTube shorts. Closes #17090. (commit)
- ui: Updated the "Powered by" link. (commit)
Bug fixes
- ckbox: Editing inline images using
CKBox
no longer changes and reinserts them simultaneously. Closes #17056. (commit) - engine: Fixed incorrect marker handling in some scenarios involving undo and real-time collaboration, which earlier led to a
model-nodelist-offset-out-of-bounds
error. See #9296. (commit) - engine: Fixed incorrect handling of merge changes during undo in some scenarios involving real-time collaboration, which earlier led to a
model-nodelist-offset-out-of-bounds
error. See #9296. (commit) - engine: Fixed conflict resolution error, which led to editor crash in some scenarios where two users removed larger intersecting part of the content and used undo. See #9296. (commit)
- engine: Fixed incorrect undo behavior leading to an editor crash when a user pressed Enter key multiple times, then pressed backspace that many times, then undid all the changes. Closes #9296. (commit)
- theme-lark: Increased the specificity of the dropdown menu panel styles to address issues with incorrect
z-index
ordering. (commit) - ui: Fixed scrolling in dropdowns when a block toolbar button is active. Closes #17067. (commit)
- ui: Increased the specificity of the dropdown menu panel styles to address issues with incorrect
z-index
ordering. (commit)
Other changes
- basic-styles: Exported the
AttributeCommand
class. Closes #17105. (commit) - ckeditor5-premium-features: Marked the
ckeditor5
package aspeerDependencies
. - engine: Performance improvements. Avoided creating unnecessary arrays. Closes #17143. (commit)
- Exported several classes and utilities from various packages (commit).
Released packages
Check out the Versioning policy guide for more information.
Released packages (summary)
Releases containing new features:
- @ckeditor/ckeditor5-engine: v43.1.1 => v43.2.0
- @ckeditor/ckeditor5-media-embed: v43.1.1 => v43.2.0
- @ckeditor/ckeditor5-ui: v43.1.1 => v43.2.0
Other releases:
- @ckeditor/ckeditor5-adapter-ckfinder: v43.1.1 => v43.2.0
- @ckeditor/ckeditor5-ai: v43.1.1 => v43.2.0
- @ckeditor/ckeditor5-alignment: v43.1.1 => v43.2.0
- @ckeditor/ckeditor5-autoformat: v43.1.1 => v43.2.0
- @ckeditor/ckeditor5-autosave: v43.1.1 => v43.2.0
- @ckeditor/ckeditor5-basic-styles: v43.1.1 => v43.2.0
- @ckeditor/ckeditor5-block-quote: v43.1.1 => v43.2.0
- @ckeditor/ckeditor5-build-balloon: v43.1.1 => v43.2.0
- @ckeditor/ckeditor5-build-balloon-block: v43.1.1 => v43.2.0
- @ckeditor/ckeditor5-build-classic: v43.1.1 => v43.2.0
- @ckeditor/ckeditor5-build-decoupled-document: v43.1.1 => v43.2.0
- @ckeditor/ckeditor5-build-inline: v43.1.1 => v43.2.0
- @ckeditor/ckeditor5-build-multi-root: v43.1.1 => v43.2.0
- @ckeditor/ckeditor5-case-change: v43.1.1 => v43.2.0
- @ckeditor/ckeditor5-ckbox: v43.1.1 => v43.2.0
- @ckeditor/ckeditor5-ckfinder: v43.1.1 => v43.2.0
- @ckeditor/ckeditor5-clipboard: v43.1.1 => v43.2.0
- @ckeditor/ckeditor5-cloud-services: v43.1.1 => v43.2.0
- @ckeditor/ckeditor5-code-block: v43.1.1 => v43.2.0
- @ckeditor/ckeditor5-collaboration-core: v43.1.1 => v43.2.0
- @ckeditor/ckeditor5-comments: v43.1.1 => v43.2.0
- @ckeditor/ckeditor5-core: v43.1.1 => v43.2.0
- @ckeditor/ckeditor5-document-outline: v43.1.1 => v43.2.0
- @ckeditor/ckeditor5-easy-image: v43.1.1 => v43.2.0
- [@ckeditor/ckeditor5-editor-balloon](https://www.npmjs.com/package/@ckeditor/ckeditor5-editor-balloon...
v43.1.1
We are happy to announce the release of CKEditor 5 v43.1.1.
During a recent internal audit, we identified a Cross-Site Scripting (XSS) vulnerability in the CKEditor 5 clipboard package (CVE-2024-45613
). This vulnerability could be triggered by a specific user action, leading to unauthorized JavaScript code execution, if the attacker managed to insert malicious content into the editor, which might happen with a very specific editor configuration.
This vulnerability affects only installations where the editor configuration meets the following criteria:
- The Block Toolbar plugin is enabled.
- One of the following plugins is also enabled:
- General HTML Support with a configuration that permits unsafe markup.
- HTML Embed.
You can read more details in the relevant security advisory and contact us if you have more questions.
Taking the occasion, we decided to introduce additional hardening to some parts of our codebase that introduce theoretical and unexploitable issues. Our security team confirmed that none of these issues were exploitable in a real scenario, however, we decided to fix them, in order to increase the overall security posture of our software.
Released packages
Check out the Versioning policy guide for more information.
Released packages (summary)
Other releases:
- @ckeditor/ckeditor5-adapter-ckfinder: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-ai: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-alignment: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-autoformat: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-autosave: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-basic-styles: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-block-quote: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-build-balloon: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-build-balloon-block: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-build-classic: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-build-decoupled-document: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-build-inline: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-build-multi-root: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-case-change: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-ckbox: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-ckfinder: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-clipboard: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-cloud-services: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-code-block: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-collaboration-core: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-comments: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-core: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-document-outline: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-easy-image: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-editor-balloon: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-editor-classic: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-editor-decoupled: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-editor-inline: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-editor-multi-root: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-engine: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-enter: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-essentials: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-export-pdf: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-export-word: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-find-and-replace: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-font: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-format-painter: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-heading: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-highlight: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-horizontal-line: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-html-embed: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-html-support: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-image: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-import-word: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-indent: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-language: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-link: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-list: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-list-multi-level: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-markdown-gfm: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-media-embed: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-mention: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-merge-fields: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-minimap: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-operations-compressor: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-page-break: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-pagination: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-paragraph: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-paste-from-office: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-paste-from-office-enhanced: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-real-time-collaboration: v43.1.0 => v43.1.1
- @ckeditor/ckeditor5-remove-format: v43.1.0 => v43.1.1
- [@ckeditor/ckeditor5-restricted-editing](https://www.npmjs.com/package/@ckeditor/ckedit...
v43.1.0
We are happy to announce the release of CKEditor 5 v43.1.0.
Release highlights
This release includes important bug fixes and enhancements for the editor:
-
Block merge fields: In contrast to regular, inline merge fields, the block merge fields are designed to represent complex, block-level structures, such as a dynamically generated table, a row of products, or a personalized call-to-action segment. Block merge fields are supposed to be replaced by arbitrary HTML data when the document template is post-processed or exported to a PDF or Word file.
-
Nested dropdown menus: this release introduces a new UI component: nested dropdown menus. They can be used by feature developers to easily provide an advanced user interface where UI elements are organized into a nested menu structure.
-
Customizable accessible label: You can now configure the label for the accessible editable area through the editor settings, ensuring it fits your system’s needs.
-
Improved table and cell border controls: It is now easier to manage both table and cell borders. The table user interface now clearly indicates the default border settings, allowing you to set “no borders” (
None
) for tables and cells without any additional configuration.⚠️ In some cases this update may lead to data changes in the tables’ HTML markup when the editor loads them. However, visually nothing will change, and the experience will be the same.
The full list of enhancements can be found below.
MINOR BREAKING CHANGES ℹ️
- Reverted
config.sanitizeHtml
. In v43.0.0 we made a decision to moveconfig.htmlEmbed.sanitizeHtml
to a top-level propertyconfig.sanitizeHtml
. However, we realized that it was a wrong decision to expose such a sensitive property in a top-level configuration property. Starting with v43.1.0 you should again useconfig.htmlEmbed.sanitizeHtml
and/orconfig.mergeFields.sanitizeHtml
. The editor will throw an error ifconfig.sanitizeHtml
is used. See the migration guide for additional context behind this decision. - ai: The structure and presentation of the list of AI commands in the toolbar have changed (a flat filtered list is now a nested menu). Additionally, if your integration customizes this user interface, please ensure your integration code is up-to-date.
- ui: The default
[aria-label]
provided byInlineEditableUIView
is now'Rich Text Editor. Editing area: [root name]'
(previously:'Editor editing area: [root name]'
). You can use theoptions.label
constructor property to adjust the label.
Features
- comments: Added
[data-author-id]
to suggestion and comment markers in editing for easier integration and styling. - media-embed: Added support for new Twitter domain (
x.com
) and Instagram Reels. Closes #16435. (commit) - merge-fields: Introduced block merge fields. They are a new type of merge fields which are treated as block content in the editor editing area.
- track-changes: Added
[data-author-id]
to suggestion and comment markers in editing for easier integration and styling. - ui: Introduced nested menu component for dropdowns. Closes #6399. (commit)
- ui: Added support for the balloon toolbar in the multi-root editor. Closes #14803. (commit)
- Allowed to configure the accessible editable area label via the
config.label
property. Closes #15208, #11863, #9731. (commit)
Bug fixes
- cloud-services: The refreshing mechanism (from the
Token
class) should retry after a failure to limit the chance of the user getting disconnected and data loss in real-time collaboration. (commit) - comments: The
TrackChangesData#getDataWithAcceptedSuggestions()
method will no longer throw errors when there are suggestions containing multi-range comments in tables. - document-outline: Editor no longer crashes during initialization when the
TableOfContents
andImageBlock
plugins are enabled. Closes ckeditor/ckeditor5#16915. - editor-classic: The widget toolbar no longer covers editor's sticky toolbar when scrolling. Closes #15744. (commit)
- editor-multi-root: The selection is no longer lost while clicking an editable containing only one block element. Closes #16806. (commit)
- engine: Prevent from editor crashes when trying to style a long paragraph. Closes #16819. (commit)
- html-support: The
<hgroup>
and<summary>
elements should work with the source editing feature. Closes #16947. (commit) - list: A to-do list should preserve the state of the checked items on the data load. Closes #15602. (commit)
- table: Changed default table and table cell properties to match the content styles. It fixes a problem with setting
[border=none]
on the table. Closes #6841. (commit) - table: Larger tables are no longer truncated in print mode. Closes #16856. (commit)
- track-changes: The
TrackChangesData#getDataWithAcceptedSuggestions()
andTrackChangesData#getDataWithDiscardedSuggestions()
methods will no longer throw errors when used in asynchronous load and save integration type. - ui: Nested menus in the menu bar and dropdowns should not get their panels focused when the main button is clicked. Closes #16857. (commit)
- ui: Restored the ability to pin balloons to text nodes in the DOM tree. Closes #16958 #16889. (commit)
- ui: The focus outline should remain visible upon closing a menu bar using the Esc key during keyboard navigation. Closes #16719. (commit)
- ui: Balloon Editor toolbar no longer sticks out of the limiter element while scrolling. Closes #17002. (commit)
Other changes
- ai: The AI Assistant pre-defined commands toolbar dropdown will now use a new nested menu component instead of the flat list component.
- **[c...
v43.0.0
We are happy to announce the release of CKEditor 5 v43.0.0.
Release highlights
Merge fields
The new merge fields feature is a game-changer for creating document templates and other kinds of personalized or dynamic content. Thanks to this feature, you can insert placeholders into your content, indicating where actual values should go. These places are marked in the final content in a distinctive way, making it easy to later process the template and fill it with the actual values. The feature supports a preview mode too - you can define preview data sets, and see how the content will look like when real values are used directly in the editor. The plugin is highly customizable to fit various applications and scenarios. Finally, merge fields are fully integrated with our Export to Word, Export to PDF, and Import from Word features, both when they are used from the editor and via REST API.
We are extremely happy to share with you this highly demanded feature, and we cannot wait to listen to your feedback!
Make sure to visit our builder or documentation to learn more about the feature.
Export to Word V2 as the default version
The V2 version of the export to Word feature introduced significant improvements, optimizations, and fixes. This update enhances the overall performance, making the export process faster and more reliable, especially for large documents. Key improvements include better handling of table borders, automatic detection of Word styles from CSS, and support for more text-related CSS properties, ensuring your documents maintain their intended formatting.
Starting this version, the V2 configuration becomes the default in the ExportWord
plugin. Make sure to migrate your configuration if you are using it.
Improved sidebar accessibility and navigation
We have introduced multiple enhancements to make the sidebar more accessible. Among other improvements, you can now use the Shift+Ctrl+E keystroke to move focus from the editor marker to the active annotation. When your comment reply is ready, you can quickly submit it using the new Ctrl+Enter shortcut. Also, navigation from one annotation to another is now possible by using arrow keys.
The full lists of keyboard supported actions can be reviewed in our Accessibility support guide.
Important bug fixes and improvements
This release brings notable bug fixes and improvements to enhance your editing experience.
- Several improvements have been made to typing in the editor, especially for Android IME and Safari. On Android, issues like duplicated characters and reverse writing effects have been resolved. In Safari, the reverse typing effect after focus change has been fixed.
- A couple of UI improvements:
- We replaced the visual indication of the selected option in dropdowns (blue background) with the checkbox marks to better indicate selected options, aligning visual cues across the toolbar and menu bar.
- All editor types now support the menu bar.
- Additionally, the special characters UI has been moved from a dropdown to a dialog. This unifies the action between the menu bar and toolbar, and also gives content creators quicker access to the always-on-top dialog.
- We have improved the drawing of page break line algorithm to address the pagination feature issues. We also improved the performance of the plugin.
React and Vue integrations updates
We have released new major versions of the React and Vue integrations. In both of them, we have migrated to JavaScript modules (ESM) and rewritten large parts of the codebases to support the latest versions of these frameworks and to follow the latest recommendations for writing the components.
We strongly recommend that you follow the release highlights to update to the latest versions:
MAJOR BREAKING CHANGES ℹ️
- ckeditor5: Global name for the
ckeditor5
package in the UMD builds has been changed toCKEDITOR
. - ckeditor5-premium-features: Global name for the
ckeditor5-premium-features
package in the UMD builds has been changed toCKEDITOR_PREMIUM_FEATURES
. - export-word: Export to Word V1 configuration format is deprecated, V2 is set as default. The
exportWord.converterOptions
configuration should be adjusted to new API. See the migration guide. - export-word: The
auto_pagination
configuration option inexportWord.converterOptions
is set tofalse
by default.
MINOR BREAKING CHANGES ℹ️
- ckbox: The
CKBoxUtils#getWorkspaceId()
andCKBoxUtils#getToken()
methods now return a promise instead of a resolved value. - comments:
AnnotationView#focus()
will focus the first view in thecontent
collection instead of the view DOM element. - comments:
Sidebar#addAnnotation()
will expect the annotation view to meet theFocusableView
interface (previously any UIView
). - engine:
Schema
callbacks added throughaddChildCheck()
will no longer add event listeners withhigh
priority and will no longer stopcheckChild
event. Instead, these callbacks are now handled onnormal
priority, as a part of the defaultcheckChild()
call. This also means that listeners added tocheckChild
event onhigh
priority will fire before any callbacks added bycheckChild()
. Earlier they would fire in registration order. This may impact you if you implemented custom schema callback using bothaddChildCheck()
and direct listener tocheckChild
event. All above is also true foraddAttributeCheck()
andcheckAttribute
event and callbacks. - html-embed: HTML Embed plugin configuration value
sanitizeHtml
was moved from thehtmlEmbed
space to top-level configuration space.config.htmlEmbed.sanitizeHtml
is now deprecated. It will still be used if it set, however we recommend updating the configuration as this property may be removed in upcoming releases. - real-time-collaboration: The size of avatars in the user presence list has been changed, which may affect integrations that depend on their dimensions. In addition, a focus border has been added to these avatars, which extends beyond the editor container. Please refer to the styling guide to learn how to change the look of the list.
- real-time-collaboration: The collaboration user presence list dropdown now has a conditional
overflow: scroll
style (previously the style was permanent). - special-characters: Special characters plugin now uses a dialog (instead of a toolbar dropdown).
- theme-lark: The
--ck-list-button-padding
custom property has been removed from the codebase. - track-changes: A substantial part of the
SuggestionThreadView
template was moved to a new viewSuggestionView
. It may affect you if you provided customization for suggestions annotations through an extendedSuggestionThreadView
orBaseSuggestionThreadView
class. Please review updated API documentation forSuggestionThreadView#getTemplate()
andSuggestionView#getTemplate()
. You can extendSuggestionView
the same way asSuggestionThreadView
andBaseSuggestionThreadView
, and provide the extended class through the newly added configuration propertyTrackChangesConfig#SuggestionView
. - ui: We changed styles for "active" items inside menu bar and dropdowns lists. Previously, an active (chosen, enabled, opened, etc.) item was highlighted with a blue background. Now, the active element has a checkmark icon on the left.
Features
v42.0.2
We are happy to announce the release of CKEditor 5 v42.0.2.
Release highlights
This is a patch release that includes the following bug fixes for new installation methods introduced in v42.0.0:
- Fixed type definitions for the imports used in the optimized build (see #16684).
- Fixed minor issues with the
ckeditor5-editor.css
,ckeditor5-content.css
, and other optimized style sheets (see #16703). - Fixed issues with installing and loading the CKEditor 5 packages using Yarn PnP (see #16646).
- Fixed issues with loading CSS and translation files with older bundlers, such as Vite 2 and Vite 3 (see #16638).
Additionally, we fixed some performance issues in the track changes plugin. The editing experience was heavily affected if there were many (hundreds or more) suggestions in the document. This was a regression introduced in v41.0.0.
Bug fixes
- ckeditor5: Changed the path to the types in the
package.json
. See #16684. (commit) - ckeditor5: Updated the
exports
field inpackage.json
to fix issues with loading CSS and translations in older bundlers. See #16638. (commit) - ckeditor5-premium-features: Changed the path to the types in the
package.json
. - ckeditor5-premium-features: Updated the
exports
field inpackage.json
to fix issues with loading CSS and translations in older bundlers. - Added dependencies used in the new
dist
folder as productiondependencies
instead ofdevDependencies
. Related to #16646. (commit)
Other changes
- track-changes: Performance fixes for scenarios where hundreds of suggestions exist in the document.
Released packages
Check out the Versioning policy guide for more information.
Released packages (summary)
Other releases:
- @ckeditor/ckeditor5-adapter-ckfinder: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-ai: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-alignment: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-autoformat: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-autosave: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-basic-styles: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-block-quote: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-build-balloon: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-build-balloon-block: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-build-classic: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-build-decoupled-document: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-build-inline: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-build-multi-root: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-case-change: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-ckbox: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-ckfinder: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-clipboard: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-cloud-services: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-code-block: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-collaboration-core: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-comments: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-core: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-document-outline: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-easy-image: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-editor-balloon: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-editor-classic: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-editor-decoupled: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-editor-inline: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-editor-multi-root: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-engine: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-enter: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-essentials: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-export-pdf: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-export-word: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-find-and-replace: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-font: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-format-painter: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-heading: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-highlight: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-horizontal-line: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-html-embed: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-html-support: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-image: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-import-word: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-indent: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-language: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-link: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-list: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-list-multi-level: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-markdown-gfm: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-media-embed: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-mention: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-minimap: v42.0.1 => v42.0.2
- @ckeditor/ckeditor5-operations-compressor: v42.0.1 => v42.0.2
- [@ckeditor/ckeditor5-page-break](https://www.npmjs.com/p...
v42.0.1
We are happy to announce the release of CKEditor 5 v42.0.1.
Release highlights
This is a patch release that fixes issues with ckeditor5-editor.css
and other editor-only stylesheets that contained extra newline characters causing incorrect syntax reported in ckeditor/ckeditor5#16670.
Additionally, if you maintain custom CKEditor 5 plugins and migrated them to the new package generator, you should update @ckeditor/ckeditor5-dev-build-tools
to the latest version to avoid this problem in your plugin.
Released packages
Check out the Versioning policy guide for more information.
Released packages (summary)
Other releases:
- @ckeditor/ckeditor5-adapter-ckfinder: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-ai: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-alignment: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-autoformat: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-autosave: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-basic-styles: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-block-quote: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-build-balloon: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-build-balloon-block: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-build-classic: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-build-decoupled-document: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-build-inline: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-build-multi-root: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-case-change: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-ckbox: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-ckfinder: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-clipboard: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-cloud-services: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-code-block: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-collaboration-core: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-comments: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-core: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-document-outline: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-easy-image: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-editor-balloon: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-editor-classic: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-editor-decoupled: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-editor-inline: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-editor-multi-root: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-engine: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-enter: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-essentials: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-export-pdf: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-export-word: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-find-and-replace: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-font: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-format-painter: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-heading: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-highlight: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-horizontal-line: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-html-embed: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-html-support: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-image: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-import-word: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-indent: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-language: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-link: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-list: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-list-multi-level: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-markdown-gfm: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-media-embed: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-mention: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-minimap: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-operations-compressor: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-page-break: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-pagination: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-paragraph: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-paste-from-office: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-paste-from-office-enhanced: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-real-time-collaboration: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-remove-format: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-restricted-editing: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-revision-history: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-select-all: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-show-blocks: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-slash-command: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-source-editing: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-special-characters: v42.0.0 => v42.0.1
- @ckeditor/ckeditor5-style: v42.0.0 => v42.0.1
- [@ckeditor/ckeditor5-table](https://www.npmjs.com/package/@ckeditor/ckeditor5-table/v/42....
v42.0.0
We are happy to announce the release of CKEditor 5 v42.0.0.
Release highlights
New installation methods
We are excited to announce the latest release of CKEditor 5, bringing major improvements to simplify the installation and setup process. After extensive research and gathering feedback, we have improved the setup methods to enhance the developer experience and align with modern standards.
The most prominent changes:
- All plugins and core features are now available from the unified
ckeditor5
andckeditor5-premium-features
packages, reducing dependency management complexity. - Our packages became bundler-agnostic. You can use whatever bundler you want (such as Vite or esbuild), to integrate CKEditor 5.
- CSS files are now distributed separately from JavaScript, allowing for parallel downloading, easier customization, and improved performance.
- All the new distribution methods (available via npm, CDN, and ZIP downloads) allow dynamic plugin registration making it easy to add or remove plugins dynamically.
The old installation methods are still supported, but we put them on the deprecation path. Read more about this in our migration guides.
New Builder
Along with the new release, we present you the brand new CKEditor 5 Builder.
The new Builder allows you to start with one of the predefined presets, customize it by adding and removing features, and observe the changes live in an editor preview (and play with the editor!). Once you are happy with your custom setup, you get ready-to-use code snippets for React, Angular, Vue, and VanillaJS setups for both npm and CDN distributions.
Updated documentation
We rewrote large parts of the documentation to complete the picture and ensure consistency across the ecosystem. The entire Getting started section was redesigned to focus on the new installation methods and to better guide the integrator through the ecosystem.
If you need clarification or a more in-depth explanation, please let us know.
Migration paths
Finally, detailed migration guides can be found in our documentation. These guides provide step-by-step instructions and examples to help you seamlessly transition to the new installation methods:
- Predefined builds migration guide.
- Custom builds migration guide.
- DLLs migration guide.
- Migration guide for custom plugins published as libraries.
We value your input, so please share your experiences, ask questions, and provide feedback to help us refine these changes. Join us in this exciting new chapter for CKEditor 5 and let’s make the developer experience as smooth and enjoyable as possible.
Removal of superbuild and predefined builds from the CDN
We have stopped publishing the superbuild and predefined builds to our CDN. Predefined builds can still be accessed as an npm package. If you want to keep using our CDN with new versions of the editor, we recommend migrating to the new installation methods.
Other updates
We are excited to announce a major update to our premium Export to Word feature, delivering significantly improved quality with multiple enhancements and bug fixes. This release also brings a substantial reduction in the conversion time. Export to Word v2 is an opt-in feature right now, and to use it you need to slightly change the editor’s configuration. Detailed information can be found in the documentation.
MINOR BREAKING CHANGES ℹ️
- image: The
Insert image via URL
UI component form has been moved to a modal dialog instead of being available directly in the insert image dropdown. - image: Increased specificity of the
.image-style-block-align-[right/left]
,.image-style-align-[right/left]
, and.image-style-side
CSS classes by adding the.image
class. See #16317. - media-embed: The media embed feature now uses a modal dialog (instead of a toolbar dropdown) for inserting media.
- pagination: If you have custom CSS styles that override the default styling of the
Pagination
elements, they might stop working after this change. The reason is that a stricter CSS selector withck-pagination-loaded
is now used to hide or show these elements.
Features
- engine:
Schema
now supports disallowing items. Introduced theSchemaItemDefinition#disallowIn
,SchemaItemDefinition#disallowChildren
andSchemaItemDefinition#disallowAttributes
properties. Closes #15835. (commit) - engine: Introduced the
DiffItemInsert#action
,DiffItemInsert#before
andDiffItemRemove#action
properties which give more information about the change that happened in the model. Refer to the API documentation to learn more. Closes #15800. (commit) - export-word: Added support for Export to Word API v2.
- image: Added menu bar integration for the insert image component. The
menuBar:insertImage
component is by default added to the "Insert" menu and replaces current buttons related to image insertion. Closes #16445. (commit) - list-multi-level: Added the menu bar integration for multi-level lists. The
menuBar:multiLevelList
component is by default added in the "Format" menu. - media-embed: Added menu bar integration to media embed. The "Media" button is now available in the "Insert" menu. (commit)
- watchdog: Export the
EditorCreatorFunction
andWatchdogConfig
types from the main index file. (commit)
Bug fixes
- ai: The
h1
tags will no longer be normalized toh2
tags in the AI Assistant response if the editor hash1
tags enabled in its content. - ckbox: The image toolbar stays attached to the image after closing CKBox. Closes #16153. (commit)
- ckeditor5-premium-features: Use the new
@ckeditor/ckeditor-cloud-services-collaboration
build targetinges2022
when creating a browser build ofckeditor5-premium-features
. - comments: Prevent crashes in narrow and wide sidebars when the
EditorAnnotations
plugin is not loaded. - engine: Preserve repeated spaces in text that is contained within an element that renders (repeated) white space. Closes #16124. (commit)
- export-word: Collaboration features should work with Export Word v2 API.
- image: Buttons inside the
insertImage
dropdown will no longer have an unnecessary tooltip. (commit) - image: Increased specificity of the
.image-style-block-align-[right/left]
,.image-style-align-[right/left]
, and.image-style-side
CSS classes by adding the.image
class. Closes #16317. (commit) - **[link](https://www.npmjs....