v31.1.0
Release highlights
We are happy to announce the release of CKEditor 5 v31.1.0.
This release introduces the following new features:
- Support for Shift+Delete on Windows to cut the selected content.
- Possibility to open a link with Ctrl/Cmd+click or Alt+Enter.
- Mark the default output for features in the HTML output guide.
There were also a few bug fixes:
- Selection was sometimes not merged correctly.
- It was almost impossible to click certain buttons in the balloon toolbar (Safari, iOS).
- The editor builder
defaultConfig.language
did not apply toeditor.locale
. - Find and replace did not find whole words that are next to each other.
- Figure tag got duplicated when the General HTML Support configuration allows all.
MINOR BREAKING CHANGES ℹ️
- table: Changed
table
elements' attributes' names introduced by theTablePropertiesEditing
plugin by prefixing them withtable
to be in line with other plugins' attributes naming. The affected attribute include:borderStyle
,borderColor
,borderWidth
,backgroundColor
,alignment
,width
,height
. See #9369. - table: Changed
tableCell
elements' attributes' names introduced by theTableCellPropertiesEditing
plugin by prefixing them withtableCell
to be in line with other plugins' attribute naming. The affected attributes include:backgroundColor
,padding
,width
,height
,borderStyle
,borderColor
,borderWidth
,verticalAlignment
,horizontalAlignment
. See #9369. - table: The
upcastBorderStyles()
helper parameters were modified (added themodelAttributes
param).
Features
- comments: Introduced the
AnnotationsUIs#refilterAnnotations()
method which runs annotation UI filtering callback against all annotations and moves them to proper annotation UIs (or removes them). - link: Added the possibility to open a link by Ctrl/Cmd+click or Alt+Enter. Closes #1381. (commit)
- track-changes: Introduced color boxes for color-related suggestions.
- utils: Introduced
env.isiOS
for detection of user agents running in iOS environments (see #7707). (commit)
Bug fixes
- core: Support language configuration passed in
defaultConfig
option through editor's constructor. Closes #8510. (commit) - engine: Merge intersecting ranges that are not adjacent to each other on ranges array. Closes #10628. (commit)
- find-and-replace: Replace functionality no longer replaces text when 'Replace with...' input is focused and user hits the Enter key but the search criteria changed. Closes #10712. (commit)
- find-and-replace: Fixed adjacent whole words being missed by find and replace. Closes #10719. (commit)
- image: Manual decorators on the linked inline images should be preserved while loading editor content. Closes #10828. (commit)
- image: The
<figure>
element should not get replicated while GHS is enabled. Closes #10279. (commit) - real-time-collaboration: The whole reconnection mechanism was improved. More reconnection scenarios are now handled without editor crashing or data loss. Note: these changes require Collaboration Server On-Premises in version higher than
4.2.0
. Otherwise, the fix will not be applied. - table: Disabled alignment button on main editor toolbar for tables in order to have a more unified behavior. Closes #9369. (commit)
- track-changes: Creating document color suggestions no longer causes the editor to crash.
- ui: Changed the look and position of the
BalloonToolbar
in Safari on iOS to avoid clash with native text selection handles. Closes #7707. (commit) - utils: Fixed
DomEmitterMixin
to correctly manage listeners for different options (useCapture
&usePassive
) set for the same DOM node. Closes #7830. (commit)
Other changes
- engine: Allowed unsafe view element attributes so they get rendered in the editing pipeline. Attribute names can be specified when creating elements using
DowncastWriter
(DowncastWriter#createAttributeElement()
,DowncastWriter#createContainerElement()
, etc.). (commit) - track-changes: Changed suggestion description for a highlighted text fragment.
- typing: Added support for the Shift+Delete keystroke on Windows to cut the selected content. Closes #9326. (commit)
- Updated translations. (commit)
Released packages
Check out the Versioning policy guide for more information.
Released packages (summary)
Minor releases (contain minor breaking changes):
- @ckeditor/ckeditor5-table: v31.0.0 => v31.1.0
Releases containing new features:
- @ckeditor/ckeditor5-link: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-mention: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-minimap: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-ui: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-utils: v31.0.0 => v31.1.0
Other releases:
- @ckeditor/ckeditor5-adapter-ckfinder: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-alignment: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-autoformat: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-autosave: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-basic-styles: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-block-quote: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-build-balloon: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-build-balloon-block: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-build-classic: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-build-decoupled-document: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-build-inline: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-ckfinder: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-clipboard: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-cloud-services: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-code-block: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-collaboration-core: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-comments: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-core: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-easy-image: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-editor-balloon: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-editor-classic: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-editor-decoupled: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-editor-inline: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-engine: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-enter: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-essentials: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-export-pdf: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-export-word: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-find-and-replace: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-font: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-heading: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-highlight: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-horizontal-line: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-html-embed: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-html-support: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-image: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-indent: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-language: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-list: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-markdown-gfm: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-media-embed: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-operations-compressor: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-page-break: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-pagination: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-paragraph: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-paste-from-office: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-real-time-collaboration: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-remove-format: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-restricted-editing: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-revision-history: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-select-all: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-source-editing: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-special-characters: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-theme-lark: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-track-changes: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-typing: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-undo: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-upload: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-watchdog: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-widget: v31.0.0 => v31.1.0
- @ckeditor/ckeditor5-word-count: v31.0.0 => v31.1.0
- @ckeditor/letters: v31.0.0 => v31.1.0