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.
Minor releases (contain minor breaking changes):
Releases containing new features:
Other releases:
Released packages (summary)