npm @ckeditor/ckeditor5-upload 31.0.0

latest releases: 0.0.0-nightly-20240920.0, 0.0.0-nightly-20240919.0, 0.0.0-nightly-20240918.0...
2 years ago

Release highlights

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

This release introduces the following new features:

There were also a few bug fixes:

MAJOR BREAKING CHANGES ℹ️

  • html-embed: The InsertHtmlEmbedCommand and UpdateHtmlEmbedCommand have been replaced by HtmlEmbedCommand which is now responsible for both tasks. The command can be executed via editor.execute( 'htmlEmbed' ). See the API reference for more information.

Features

  • core: Introduced the Command#affectsData flag to indicate whether a given command should stay enabled in editor modes with restricted write permissions (e.g. read-only mode). Closes #10670. (commit)
  • engine: The DataController#get() is now decorated and fires a get event on the method call. See #10505. (commit)
  • mention: Added the configuration option for customizing the maximum number of items in the list after typing the trigger character. Closes #10479. (commit)
  • real-time-collaboration: Introduced the RealTimeCollaborationClient#serverHistory property. See the API reference for more information.

Bug fixes

  • comments: Features that do not change the content, should work properly in editor modes with restricted write permissions (e.g. read-only mode). See ckeditor/ckeditor5#10670.
  • comments: The comment data was not updated on remote clients after the local client edited the comment.
  • engine: DOM selection updates in Renderer when the selection is made using the mouse was blocked. Random glitching in Chrome when the user starts selection in a link (or a marker) at the beginning of the block was limited. Closes #10562. (commit)
  • engine: Makes order of markers in downcast data pipeline consistent. Thanks @bendemboski! Closes #10650. (commit)
  • engine: Fixed a bug in the selection post-fixer (when the selection is stuck in a limit element that cannot contain text). Closes #10487. (commit)
  • export-pdf: Features that do not change the content should work properly in editor modes with restricted write permissions (e.g. read-only mode). See ckeditor/ckeditor5#10670.
  • find-and-replace: The FindCommand and FindNextCommand commands should work properly in editor modes with restricted write permissions (e.g. read-only mode). Closes #10636. (commit)
  • find-and-replace: Do not replace find results removed by collaborators that landed in the $graveyard root. (commit)
  • html-embed: Embed buttons should reflect the read-only state of the editor and the HTML embed command. Closes #10182. (commit)
  • html-support: Adds HTML support for all headings given in the configuration of the headings feature. Closes #10539. (commit)
  • mention: Th mention panel will now hide when the editor becomes read-only. Closes #4645. (commit)
  • restricted-editing: The feature should work properly in editor modes with restricted write permissions (e.g. read-only mode). Closes #10634. (commit)
  • select-all: The SelectAllCommand command should work properly in editor modes with restricted write permissions (e.g. read-only mode). Closes #10635. (commit)
  • source-editing: Calling editor.getData() while in the source editing mode should return the data from the source editor passed through the model. Closes #10505. (commit)
  • source-editing: Improve source editing textarea field size and scrolling behaviour. Closes #10422. (commit)
  • source-editing: Safari browser uses monospace font for text in source editing mode. Closes #10585. (commit)
  • table: The SelectColumnCommand and SelectRowCommand commands should work properly in editor modes with restricted write permissions (e.g. read-only mode). See #10635. (commit)
  • table: Color dropdown buttons in the table properties form should not be misaligned in Safari. Closes #10589. (commit)
  • table: A nested widget in a multi-cell table selection should not have the selection handle. Closes #9491. (commit)
  • ui: The ContextualBalloon positioning should use the dynamic editor.ui.viewportOffset value instead of static config.ui.viewportOffset. Closes #10597. (commit)
  • ui: The InputTextView class should update its #isEmpty property on every #input instead of #change to stay in sync. Closes #10431. (commit)
  • utils: Properly stringify objects containing circular references in the CKEditorError class. Closes #4959. (commit) Thanks to @marcellofuschi.

Other changes

Released packages

Check out the Versioning policy guide for more information.

Released packages (summary)

Major releases (contain major breaking changes):

Releases containing new features:

Other releases:

Don't miss a new ckeditor5-upload release

NewReleases is sending notifications on new releases.