npm @ckeditor/ckeditor5-upload 38.0.0

latest releases: 0.0.0-nightly-20240502.0, 0.0.0-nightly-20240501.0, 0.0.0-nightly-20240430.0...
11 months ago

Release highlights

"Powered by CKEditor" logo

From version v38.0.0 onwards, all open-source installations of CKEditor (using it under the GPL terms) will carry a small “Powered by CKEditor” logo in the bottom-right corner of the editing area. This new logo links directly to the CKEditor website to strengthen the awareness of who’s powering and modernizing their rich text editor.

This change does not affect customers with commercial licenses. You can reach out to our Technical Support team using this form, if you have any questions.

You can read more about this change in the announcement on GitHub, the update guide, and the Managing the "Powered by CKEditor" logo guide.

Color picker

Until v38.0.0, users were only able to choose from predefined colors in features like font color, font background color, table border color, etc. Starting from v38.0.0, they can also use a color picker to choose any possible color.

The color picker is now available in the font color and font background color features. In the upcoming versions (next month), it will be added to the table-related color features.

If you're interested in keeping the old behavior where the user can choose only from predefined colors, check out the update guide.

Styles

The latest update allows users to apply styling to tables and their elements, as well as to lists and their items (DocumentList plugin). We've also fixed the behavior for links, so styles now only apply to the entire link. In addition, we've implemented a few bug fixes to address prior inconsistencies and issues.

MAJOR BREAKING CHANGES ℹ️

  • Introduced the "Powered by CKEditor" logo.

MINOR BREAKING CHANGES ℹ️

  • font: Color picker is now added by default to the font color and font background color dropdowns. Thanks to it, users can apply any color through these features. In places where users should use a limited number of colors, it is possible to disable the color picker using a configuration option.
  • track-changes: Introduced new values for the trackFormatChanges configuration parameter. Previously possible values were true or false. New possible values are: 'always', 'default' (the old true), and 'never' (the old false). Please update your configuration accordingly.
  • Changed the look of the buttons in the comments and suggestions annotations. Previously, the buttons to add a comment, add a reply, or save the edited comment were represented by icons. Now they are proper buttons with text labels.

Features

  • clipboard: Introduced experimental support for block drag & drop. Closes #14033. (commit)
  • comments: Added support for resolved comment threads imported from Word.
  • editor-multi-root: Introduced the MultiRootEditor#disableRoot() and MultiRootEditor#enableRoot() methods that allow switching only a particular root to a read-only state. (commit)
  • engine: Introduced the Model#canEditAt( selectable ) method that checks whether a given selectable is in an editable place in the model. It should be used instead of Editor#isReadOnly in multi-root integrations as it acknowledges the root's read-only state. (commit)
  • font: Introduced the color picker feature for font and font background colors. Closes #10988. (commit)
  • style: The styles dropdown now applies link styles only to the entire link. Closes #11709. (commit)
  • style: Added custom styling support for the <td>, <th>, <caption>, and <figcaption> elements. Closes #13777. (commit)
  • style: Added support for the document lists feature. Closes #11590, #12668. (commit)
  • style: The <figure> element can now be styled. See #11590. (commit)
  • track-changes: Added more granular changes tracking.
  • track-changes: Introduced a new configuration parameter: mergeNestedSuggestions: boolean (default true). Introduced new values for the trackFormatChanges configuration parameter. See the API reference for more details.
  • ui: Introduced the color picker view. See #10988. (commit)

Bug fixes

  • comments: The mentions dropdown no longer appears behind the comments archive dropdown panel and is now accessible.
  • comments: Fixed an error thrown when a resolved comment thread was received in a particular scenario.
  • comments: The comments archive panel is now correctly visible when the comments archive is opened from various toolbars.
  • comments: The comment thread attributes are now correctly returned in CommentsRepository#getCommentThreads().
  • comments: Fixed the comment thread input area which was incorrectly displayed or hidden in particular cases.
  • comments: Fixed the editor crash when a comment was added to a comment thread imported from a Word file.
  • core: Added the licenseKey property to the EditorConfig interface. Closes #13906. (commit)
  • document-outline: The document outline and table of contents features should now support the multi-root editor.
  • document-outline: The document outline and table of contents features should not display placeholders for empty headings by default.
  • engine: TypeScript should suggest editingDowncast and dataDowncast in conversion.for. Closes #13750. (commit)
  • engine: The editor should not crash when a custom element with an invalid attribute name is pasted. Closes #13841. (commit)
  • font: Screen readers should now announce the selected option in dropdown lists for the font size, font family, and heading features. Closes #13250. (commit)
  • heading: Screen readers should now announce the selected option in dropdown lists for the font size, font family, and heading features. Closes #13250. (commit)
  • html-support: Fixed the editor crash when pasting a table from Google Sheets. Closes #13876. (commit)
  • html-support: HTML classes from a paragraph created after pressing the Enter key in a heading are now removed. Closes #11578. (commit)
  • paste-from-office: Fixed the width of tables pasted from Google Sheets. Closes #13746. (commit)
  • revision-history: Fixed the editor crash when a legacy revision (created using the editor in version 37.1.0 or older) was restored.
  • style: The remove format feature should also remove styles. Closes #11580. (commit)
  • style: The classes of the removed style are now preserved if other active styles also use them. Closes #11748. (commit)
  • table: Removed comments with both CK_DEBUG and istanbul that break the Vite integration. See #13922. (commit)
  • track-changes: Fixed the integration of the remove format and format painter features.
  • ui: The mousedown event should not be canceled on a UI button press so it can be dragged. See #14033. (commit)
  • ui: The toolbar should not disappear when the toolbar separator is clicked. The toolbar view should be focusable the same as the dropdown panel views. Closes #12172. (commit)
  • ui: Select all (Ctrl/Cmd+A) should now be enabled by default in an input field placed in a dropdown panel. Closes #13982. (commit)
  • Screen readers should announce the selected option in dropdown lists for the code block, language, image (resize options), special characters (categories), and table (border style) features. Closes #13748. (commit)

Other changes

  • comments: Changed the comments annotation button styles from icons to labeled buttons.
  • comments: The comments archive header is now fixed at the top of the dropdown panel.
  • image: Changed the export type to export for plugins in the @ckeditor/ckeditor5-image package. Closes #13868. (commit)
  • track-changes: Changed the track changes annotation button styles from icons to labeled buttons.
  • Optimized icons. (commit)
  • Updated translations. (commit, commit)
  • Introduced the "Powered by CKEditor" logo. (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-upload release

NewReleases is sending notifications on new releases.