npm ckeditor5 29.2.0

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

Release highlights

We are happy to announce the release of CKEditor 5 v29.2.0.

This release introduces several new features:

  • Redesigned the find and replace panel and introduced a few improvements to the feature itself.
  • Added the possibility to create a localized editor when using DLL builds.
  • Improved the performance when pasting large images.

There were also a few bug fixes:

MINOR BREAKING CHANGES ℹ️

  • find-and-replace: The layout, styling, and view structure of the find and replace form have changed radically, which may affect integrations that either customized or extended this form (see #10229).
  • revision-history: The revision data now includes a new property: authorsIds. This property needs to be handled (saved and loaded) similarly to other revision properties. For revisions that are already saved in your database, set this value to an array with one string, equal to the creatorId value (e.g. ["user1"]). Check the updated revision history integration guide to see an example.
  • revision-history: The documentation for revision history adapter has been updated. Please check the RevisionHistoryAdapter#addRevision() and updateRevision() documentation to make sure that you correctly handle all the data passed to those methods.

Features

Bug fixes

  • comments: Comment#setAttribute() and Comment#removeAttribute() will now correctly set the attribute value and fire the adapter call also for comments created by other users.
  • find-and-replace: Changing the search text should reset the results. Closes #10304. (commit)
  • find-and-replace: Toggling search options should reset the results. Closes #10021. (commit)
  • find-and-replace: The find and replace form should be responsive. Closes #10019. (commit)
  • find-and-replace: Allows search term to contain a trailing/leading space when searching "whole words only". Closes #10131. (commit)
  • html-support: Filters out all pasted HTML comments. Closes #10213. (commit)
  • html-support: Extended the schema definition for $root to allow storing a comment's content as the $root attribute. Closes #10274. (commit)
  • revision-history: Enabled multiple authors in one revision. Introduced the authorsIds property in the revision data.
  • revision-history: Visual improvements on how nested changes are displayed.
  • source-editing: The selection is now set at the beginning of the source editing view. Closes #10180. (commit)
  • source-editing: The source editing feature will send a warning to the console when the restricted editing feature is loaded. Closes #10228. (commit)
  • theme-lark: The label of the labeled field should stay on the top when the field is disabled and not empty to not cover the field's text (see #10229). (commit)

Other changes

  • ckeditor5: The ckeditor5 package offers translation files for several core CKEditor 5 packages: utils, core, engine, ui, clipboard, enter, paragraph, select-all, typing, undo, upload, and widget, used in the DLL builds. (commit)
  • clipboard: The DataTransfer.files property is not evaluated more than once. Closes #10287. (commit)
  • comments: Raised comments character limit to 65000.
  • core: Merged a duplicated translation context from ckeditor5-ui and ckeditor5-find-and-replace packages. Closes #10400. (commit)
  • find-and-replace: Moved the search result translation context to ckeditor5-core. Closes #10400. (commit)
  • find-and-replace: Visually revamped the find and replace form. Closes #10229. (commit)
  • find-and-replace: Increased the contrast between selected and unselected find and replace results. Closes #10242. (commit)
  • highlight: Toggling highlight does not remove it when the caret is at the end of the highlighted range. Closes #2616. (commit)
  • language: The "Remove language" option of text part language dropdown is now the first one in the list. Closes #10338. (commit)
  • revision-history: Some CSS styling improvements for suggestions and changes highlights.
  • theme-lark: Moved the presentational find and replace form styles to the theme (see #10229). (commit)
  • ui: Moved the page label translation context to ckeditor5-core. Closes #10400. (commit)
  • Updated translations. (commit, commit)
  • The content styles stylesheet for the guide will now be generated on-demand using the {@exec...} feature. Closes #10299. (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 release

NewReleases is sending notifications on new releases.