npm ckeditor5 34.2.0

latest releases: 0.0.0-nightly-20241116.0, 0.0.0-nightly-20241115.0, 0.0.0-nightly-20241114.0...
2 years ago

Release highlights

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

This release introduces the following new features:

  • A unsaved revision will now be resumed when the editor is re-initialized (instead of creating a new revision). Note, that currently, this feature does not work for real-time editing integrations that use an editor bundle uploaded to Cloud Services.
  • Integrated the track changes feature with the code block and HTML embed features.
  • Integrated CKEditor 5 with the CKBox service.

Read more in: https://ckeditor.com/blog/ckeditor-5-v34.2.0-with-ckbox-resuming-unsaved-revisions-and-a-new-installation-walkthrough/

Features

  • ckbox: Added a new package (@ckeditor/ckeditor5-ckbox), which integrates the CKBox service with CKEditor 5. (commit)
  • comments: Introduced the annotations property for the WideSidebar, NarrowSidebar and InlineAnnotations plugins. The property is an AnnotationsCollection instance which keeps all annotations added to the given UI.
  • html-support: Custom elements should be preserved by the General HTML Support feature. Closes #11432. (commit)
  • real-time-collaboration: Introduced the cloudServices.connectionTimeout and cloudServices.requestTimeout configuration options that allow for changing timeout values for connecting to Cloud Services and for handling a single request.
  • revision-history: Unsaved revision will now be resumed when the editor is re-initialized (instead of creating a new revision). Introduced the revisionHistory.resumeUnsavedRevision configuration option that turns on and off this behavior (defaults to true).
  • track-changes: Added track changes integration for the code block and HTML embed features.

Bug fixes

  • engine: The order of attributes should not get reversed while loading editor data. Closes #11850. (commit)
  • engine: Inline filler should not be removed while updating a text node. Closes #11472. (commit)
  • engine: The view element renderUnsafeAttributes option should not be lost for an AttributeElements. Closes #11879. (commit)
  • engine: Whitespaces between block elements should not trigger auto-paragraphing. Closes #11248. (commit)
  • revision-history: Fixed long revision history loading time when Context is used.
  • source-editing: The formatHtml() helper should not crash when a pathological <iframe> content is passed. Closes #10698. (commit)
  • toolbar: Added a toolbar button tooltip when focused improving accessibility for keyboard users. Closes #5581. (commit)
  • ui: The secondary button of the SplitButtonView component should display a tooltip while being hovered over by the user. Closes #11833. (commit)

Other changes

  • code-block: The IndentCodeBlockCommand and the OutdentCodeBlockCommand are now using model.insertContent() and model.deleteContent() for easier extendability. (commit)
  • engine: Use innerText instead of innerHTML in view/filler. (commit)
  • real-time-collaboration: Raised default timeout settings for connecting to Cloud Services (to 10 seconds) and for handling a single request (to 20 seconds).
  • revision-history: Added support for replacing editor data with revision data also for non-real-time editing integration.
  • Updated translations. (commit, commit)

Released packages

Check out the Versioning policy guide for more information.

Released packages (summary)

New packages:

Releases containing new features:

Other releases:

Don't miss a new ckeditor5 release

NewReleases is sending notifications on new releases.