npm ckeditor5 38.2.0-alpha.1

latest releases: 0.0.0-nightly-20240919.0, 0.0.0-nightly-20240918.0, 0.0.0-nightly-20240917.0...
14 months ago

Release highlights

This release is intended to improve compatibility with Vite and Vitest by correctly reporting CKEditor packages as ESM modules.

Please note that this release is based on v38.1.0 and is marked as alpha, which means that it is an experimental version and some unexpected results may occur when using it.

We appreciate any feedback that will help us improve the final form of the project.

MINOR BREAKING CHANGES ℹ️

  • font: The ColorTableView class has been moved to the ckeditor5-ui package and remains available as a public ColorSelectorView component.
  • font: CSS classes such as .ck-color-table__remove-color or .ck-color-table__color-picker (prefixed with .ck-color-table) are now prefixed with .ck-color-selector. For instance, .ck-color-selector__remove-color or .ck-color-selector__color-picker.
  • table: Color pickers are now displayed by default for all color fields in the table and table cell properties UI. In places where users should use a limited number of colors, it is possible to disable the color picker using a configuration option. See the configuration reference of table properties and table cell properties features to learn more.

Features

  • ckbox: CKBoxUploadAdapter looks for categories using file extension case-insensitively. Closes #13751. (commit)
  • html-support: Introduced configuration option to allow empty inline elements. Closes #9888. (commit)
  • table: Brought color pickers to color fields in table properties and table cell properties UI. Closes #14500. (commit)
  • track-changes: Added track changes data support for multi-root editor without a need to specify a custom callback.
  • ui: Extracted the ColorTableView UI from ckeditor5-font as a public ColorSelectorView component (see #14500). (commit)

Bug fixes

  • comments: A comment thread annotation will no longer disappear after clicking on a mention hint.
  • document-outline: Don't throw an error when an item with the incorrect index is set to active.
  • paragraph: The insertParagraph command won't insert two paragraphs when position is at the edge of the block. Closes #13866. (commit)
  • source-editing: Fixes infinite loop in source editing mode. Closes #14469. (commit)
  • track-changes: Roots attributes will now be passed to internal editor in track changes data plugin. This may solve some errors with custom plugins using root attributes.
  • ui: Fixed the sticky panel behavior in overflowing containers. Closes #5465. (commit)
  • ui: Dropdowns will stay open after clicking on an HTML element added to the dropdown's focus tracker. (commit)

Other changes

  • engine: The DomConverter should allow registering custom matchers to detect inline object elements. See #9888. (commit)
  • source-editing: Fixed formatting of <br> elements in source editing. Whitespaces before <br> element should not be added. (commit)
  • track-changes: Added DescriptionItem type.

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 release

NewReleases is sending notifications on new releases.