npm @ckeditor/ckeditor5-build-classic 31.1.0

latest releases: 0.0.0-nightly-20241110.0, 0.0.0-nightly-20241109.0, 0.0.0-nightly-20241108.0...
2 years ago

Release highlights

We are happy to announce the release of CKEditor 5 v31.1.0.

This release introduces the following new features:

There were also a few bug fixes:

MINOR BREAKING CHANGES ℹ️

  • table: Changed table elements' attributes' names introduced by the TablePropertiesEditing plugin by prefixing them with table 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 the TableCellPropertiesEditing plugin by prefixing them with tableCell 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 the modelAttributes 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):

Releases containing new features:

Other releases:

Don't miss a new ckeditor5-build-classic release

NewReleases is sending notifications on new releases.