v37.0.0-rc.0
Pre-release
Pre-release
MAJOR BREAKING CHANGES ℹ️
- Upgraded the minimal versions of Node.js to
16.0.0
due to the end of LTS.
MINOR BREAKING CHANGES ℹ️
- table: The table columns' widths are stored as model elements instead of a model element attribute. See #11479.
- The
@ckeditor/ckeditor5-watchdog
package is no longer available as a standalone DLL build. It is now included in the mainckeditor5-dll.js
build. See #13707.
Features
- build-multi-root: Introduced a new editor build featuring the multi-root editor. (commit)
- comments: Introduced comments archive. It is now possible to resolve a comment thread instead of removing it. Resolved comment threads can be reviewed in the comments archive and can be re-opened if the commented content is still available in the editor.
- comments: Introduced
comment:modify_all
permission that will allow the user to edit or remove all comments. - engine: Introduced
model.Writer#addRoot()
andmodel.Writer#detachRoot()
. Model roots can now be dynamically added to or detached from the document. All content gets removed from a detached root and new content cannot be inserted as long as the root is detached. Closes #13388. (commit) - engine: Introduced
Differ.getChangedRoots()
which returns the roots added or detached since last the differ reset.Differ#isEmpty
andDiffer#hasDataChanges()
will returntrue
if a root was added or detached. (commit) - mention: Limiting the dropdown on the singular feed level should now be possible. Closes #13504. (commit)
- multi-root-editor: Introduced the multi-root editor type that allows defining multiple editable areas handled by a single editor instance. Closes #11493. (commit)
Bug fixes
- build-*: Typings from the CKEditor 5 builds contain types of loaded plugins. Closes #13676. (commit)
- clipboard: Dragging images in the editor should not lag in Firefox. Closes #13366. (commit)
- engine: Dragging images in the editor should not lag in Firefox. Closes #13366. (commit)
- engine: The
Renderer
should try to update existing DOM text nodes (instead of replacing them completely) so that external tools should not get lost if the watched DOM text node is removed and replaced with another one. Closes #13051. (commit) - engine: The
elementToStructure()
downcast helper should not skip attribute changes that happened with the modification of the children list. (commit) - html-support: Attributes on the
<colgroup>
, and<col>
elements should be preserved in the data. Closes #11479. (commit) - html-support: Fixed description lists with name-value groups wrapped in div elements when upcasting using the General HTML Support feature. Closes #12240. (commit)
- image: Fixed the image resize handle displaying
NaN
in some scenarios. Closes #10776. (commit) - link: The link text should update along with the URL if they were the same in the first place. Closes #12588. (commit)
- mention: Mentions reexport the
MentionFeed
andItemRenderer
types. Closes #13705. (commit) - mention: Make a text property optional in the
MentionFeedObjectItem
type. Closes #13550. (commit) - mention: Mentions panel should be positioned left to the caret in editors with a right–to–left UI language. Closes #13459. (commit)
- paste-from-office: Fixed handling of bold text in RTL lists pasted from MS Word. Closes #13711. (commit)
- table: Changed detection on heading rows and columns on table upcast. Closes #3172. (commit)
- track-changes: Suggestion annotation discard button state is now bound with the
DiscardSuggestionCommand
state, instead ofAcceptSuggestionCommand
. - track-changes: Fixed error thrown when a list item was created using autoformatting in the track changes mode.
- track-changes: List style and document list style iss now applied directly to a non-list element when used in the track changes mode.
Other changes
- core: The
EditorConfig#initialData
andEditorConfig#placeholder
options can now be set toRecord<string, string>
where the keys are root names and the values are settings for the related roots. (commit) - editor-*: Exposed the
Context
,EditorWatchdog
, andContextWatchdog
classes as static editor properties. Closes #13707. (commit) - engine:
RootAttributeOperation
is now correctly handled byDiffer
. Root attribute changes will be returned inDiffer#getChangedRoots()
. (commit) - engine:
model.Document#getRootNames()
now returns only attached roots by default. TheincludeDetached
parameter was introduced to enable returning detached roots as well. (commit) - engine: Introduced
RootOperation
. (commit) - engine:
model.DocumentFragment#isAttached
was introduced for compatibility reasons. It always returnsfalse
. (commit) - real-time-collaboration: Migrated
ckeditor5-real-time-collaboration
to TypeScript. - style: Introduced the
StyleUtils
plugin to make the style util functions accessible. Closes #13484. (commit) - table: The table columns' widths are stored as model elements instead of model element attributes. See #11479. (commit)
- track-changes: Introduced the
BaseSuggestionThreadView#canAccept
and#canDiscard
observable properties. These properties are bound with related suggestions commands.SuggestionThreadView#acceptButton.isEnabled
and#discardButton.isEnabled
are bound to#canAccept
an#canDiscard
. - ui: Introduced
EditorUI#removeEditableElement()
. (commit) - utils: Added configuration to the
View#scrollToTheSelection()
helper allowing to scroll to the top of the boundary. Closes #13688. (commit) - Introduced
Observer#stopObserving()
to allow for proper removal of DOM editable elements from the editor. (commit) - Improved augmentation in some packages. Related to #13565. (commit)
- Updated the required version of Node.js to 16. See #13671. (commit)
- The remaining CKEditor 5 packages have been rewritten to TypeScript:
- @ckeditor/ckeditor5-autosave: closes #12997. (commit)
- @ckeditor/ckeditor5-build-balloon: closes #13000. (commit)
- @ckeditor/ckeditor5-build-balloon-block: closes #13001. (commit)
- @ckeditor/ckeditor5-build-classic: closes #13002. (commit)
- @ckeditor/ckeditor5-build-decoupled-document: closes #13003. (commit)
- @ckeditor/ckeditor5-build-inline: closes #13004. (commit)
- @ckeditor/ckeditor5-ckbox: closes #13005. (commit)
- @ckeditor/ckeditor5-ckfinder: closes #13006. (commit)
- @ckeditor/ckeditor5-cloud-services: closes #13007. (commit)
- @ckeditor/ckeditor5-easy-image: closes #13009. (commit)
- @ckeditor/ckeditor5-find-and-replace: closes #13010. (commit)
- @ckeditor/ckeditor5-font: closes #13011. (commit)
- @ckeditor/ckeditor5-html-embed: closes #13015. (commit)
- @ckeditor/ckeditor5-html-support: closes #13016. (commit)
- @ckeditor/ckeditor5-indent: closes #13018. (commit)
- @ckeditor/ckeditor5-link: closes #13020. (commit)
- @ckeditor/ckeditor5-media-embed: closes #13023. (commit)
- @ckeditor/ckeditor5-remove-format: closes #13028. (commit)
- @ckeditor/ckeditor5-restricted-editing: closes #13029. (commit)
- @ckeditor/ckeditor5-source-editing: closes #13030. (commit)
- @ckeditor/ckeditor5-special-characters: closes #13031. (commit)
- @ckeditor/ckeditor5-style: closes #13032. (commit)
- @ckeditor/ckeditor5-table: closes #13033. (commit)
- @ckeditor/ckeditor5-watchdog: closes #13035. (commit)
- @ckeditor/ckeditor5-collaboration-core
- @ckeditor/ckeditor5-comments
- @ckeditor/ckeditor5-export-pdf
- @ckeditor/ckeditor5-export-word
- @ckeditor/ckeditor5-import-word
- @ckeditor/ckeditor5-operations-compressor
- @ckeditor/ckeditor5-pagination
- @ckeditor/ckeditor5-real-time-collaboration
- @ckeditor/ckeditor5-revision-history
- @ckeditor/ckeditor5-track-changes
- Updated translations. (commit)
Released packages
Check out the Versioning policy guide for more information.
Released packages (summary)
New packages:
- @ckeditor/ckeditor5-build-multi-root: v37.0.0-rc.0
- @ckeditor/ckeditor5-editor-multi-root: v37.0.0-rc.0
Minor releases (contain minor breaking changes):
- @ckeditor/ckeditor5-table: v36.0.1 => v37.0.0-rc.0
Releases containing new features:
- @ckeditor/ckeditor5-core: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-editor-balloon: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-editor-classic: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-editor-decoupled: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-editor-inline: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-engine: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-enter: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-find-and-replace: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-image: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-mention: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-typing: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-ui: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-utils: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-widget: v36.0.1 => v37.0.0-rc.0
Other releases:
- @ckeditor/ckeditor5-adapter-ckfinder: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-alignment: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-autoformat: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-autosave: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-basic-styles: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-block-quote: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-build-balloon: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-build-balloon-block: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-build-classic: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-build-decoupled-document: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-build-inline: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-ckbox: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-ckfinder: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-clipboard: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-cloud-services: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-code-block: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-collaboration-core: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-comments: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-easy-image: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-essentials: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-export-pdf: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-export-word: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-font: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-heading: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-highlight: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-horizontal-line: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-html-embed: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-html-support: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-import-word: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-indent: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-language: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-link: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-list: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-markdown-gfm: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-media-embed: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-minimap: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-operations-compressor: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-page-break: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-pagination: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-paragraph: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-paste-from-office: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-real-time-collaboration: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-remove-format: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-restricted-editing: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-revision-history: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-select-all: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-source-editing: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-special-characters: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-style: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-theme-lark: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-track-changes: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-undo: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-upload: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-watchdog: v36.0.1 => v37.0.0-rc.0
- @ckeditor/ckeditor5-word-count: v36.0.1 => v37.0.0-rc.0
- @ckeditor/letters: v36.0.1 => v37.0.0-rc.0
- ckeditor5-collaboration: v36.0.1 => v37.0.0-rc.0