Skip to content

Latest commit

 

History

History
628 lines (535 loc) · 70.7 KB

CHANGELOG.md

File metadata and controls

628 lines (535 loc) · 70.7 KB

Changelog

38.2.0-alpha.1 (2023-07-17)

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:

38.2.0-alpha.0 (2023-06-29)

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.

Bug fixes

Released packages

Check out the Versioning policy guide for more information.

Released packages (summary)

Other releases:

38.1.1 (2023-07-10)

Release highlights

In light of a recently identified vulnerability in the protobufjs package (CVE-2023-36665), we've rolled out an update to CKEditor 5 packages. This vulnerability is pertinent to real-time collaboration services.

Please note, our investigation has shown that our setup does not incorporate the affected protobufjs code. However, to ensure a smooth and secure installation and update experience, we've updated our dependencies.

While the specific vulnerability doesn't impact our use-case, we still encourage an update to the latest CKEditor 5 version as a general security practice.

Released packages

Check out the Versioning policy guide for more information.

Released packages (summary)

Other releases:

38.1.0 (2023-06-23)

Release highlights

Show blocks

The show blocks feature allows the content creators to visualize all block-level elements (except for widgets) by surrounding them with an outline and displaying their element name at the top-left corner of the box.

image

Adjacent lists support

CKEditor 5 introduces an opt-in feature specifically for list handling during Word import or pasting. This feature influences how adjacent lists of the same type (either ordered or unordered) are processed. By default, such lists merge together, but you can prevent this.

To enable this feature, the AdjacentListsSupport plugin needs to be added to your CKEditor 5 configuration. This allows you to maintain distinct lists, even when they are of the same type and positioned adjacently. However, please note that this feature only works with the DocumentLists implementation. We are considering making it the default setting in future updates, based on user feedback and experience we collect. Let us know your opinion on the ckeditor#14478 issue.

Comments archive integration guide

We released a new guide showcasing how you can customize comments archive UI to display the archive panel in a custom container, to better fit your application layout.

Fixing API scrolling integration with custom viewport offsets

We introduced a significant UX improvement that enhances the scrolling behavior of the Document Outline and Table of Contents features in the organization's documentation. Now, clicking on a heading in the Document Outline and Table of Contents displays a collapsed caret, which was previously located under the header section. Additionally, the fix improves other cases, such as proper scrolling when pressing enter while the editor is focused and scrolled away.

MINOR BREAKING CHANGES ℹ️

  • html-support: The htmlAttributes model property has been replaced by html*Attributes, where the * represents the name of the view element. Clients will need to modify their code accordingly by replacing all instances of htmlAttributes with html*Attributes for the respective view elements.

Features

  • export-word: Added support for resolved comment threads in the Export to Word feature.
  • html-support: Changing a list type now removes styles inherited from the previous type. Closes #14216. (commit)
  • list: Added the AdjacentListsSupport plugin to separate lists of the same type. Closes #12738. (commit)
  • ui: BodyCollection.bodyCollectionContainer is now a public property. Closes #13928. (commit)

Bug fixes

  • comments: The editor should no longer crash after resolving multiple comment threads from multiple editor instances inside one Context.
  • document-outline: Fixed a randomly failing Table of Contents editing test (before each).
  • document-outline: The document outline feature should respect the config.ui.viewportOffset configuration.
  • engine: The editor should no longer crash while pressing backspace in an empty editor (in Firefox). Closes #14411, #14050. (commit)
  • engine: Fixed the shallow view and model TreeWalkers returning elements outside of specified boundaries. (commit)
  • engine: The CSS shorthand value normalizer should work for values with white spaces. Closes #14309. (commit)
  • engine: View#scrollToTheSelection() should respect the config.ui.viewportOffset configuration and consider the geometry of a classic editor's toolbar to assure the caret is always visible to the user. Closes #13730. (commit)
  • engine: Font attributes are preserved after inserting inline widgets. Closes #14106. (commit)
  • export-pdf: Text will no longer go beyond its cell when columns are resized by the resize handler in exported PDFs. Closes #3355. (commit)
  • font: The accept button in the color picker will no longer submit forms. Closes #14361. (commit)
  • html-support: GHS should allow linking of custom elements. Closes #13803. (commit)
  • html-support: Preserve HTML attributes when a list is split or its item is removed. Closes #14346 and #14349. (commit)
  • html-support: Remove unrelated html*Attributes from elements. See #14216. (commit)
  • mention: Multiple mentions in the last table cell should not result in a selection error. Closes #14025. (commit)
  • paste-from-office: Remove the <style> tag that comes with the table pasted from Google Sheets. Closes #14131. (commit)
  • paste-from-office: List markers should be displayed correctly after pasting a list from MS Word. Closes #12361. (commit)
  • style: Styles dropdown should allow styling <div> elements. Closes #13341. (commit)
  • table: Text will no longer go beyond its cell when columns are resized by resize handler in Firefox. Closes #14386. (commit)
  • track-changes: Removed an unnecessary request to the token URL when using the TrackChangesData plugin.
  • ui: Fixed a styling issue that would cause some toolbar dropdowns to be shrunk. (commit)
  • ui: Fixed the arrow keys behavior in the color picker component. Closes #14218. (commit)
  • ui: The "Powered by" logo should not shake on the first show. Closes cksource/ckeditor5-internal#3289. (commit)
  • ui: Fixed the way code exports the colorPaletteIcon icon, which could result in a broken build. Closes #14205. (commit)
  • utils: Rect#getVisible() should not consider ancestors when the target is an element with position: absolute. Closes #14107. (commit)
  • Added multi-root support for: title, HTML comments, table resize, word count and block toolbar. (commit)
  • Fixed editor crash that happened when TrackChangesData or revision history was used in setup with Context if CloudServices was set only in the Context configuration (and not in the editor configuration).

Other changes

  • comments: The resolve button will now be disabled instead of hidden when the editor is in read-only mode for better UI consistency.
  • engine: Exports ViewTreeWalker from ckeditor5-engine/src/index.ts. Closes #14158. (commit)
  • html-support: Changed htmlAttributes to html*Attributes where * represents the name of the view element. See #14216. (commit)
  • ui: Added a configuration option that forces the "Powered by" logo to show up despite a valid license key being used. Closes #14235. (commit)
  • Optimized icons. (commit)
  • Updated translations. (commit, commit)

Released packages

Check out the Versioning policy guide for more information.

Released packages (summary)

New packages:

Minor releases (contain minor breaking changes):

Releases containing new features:

Other releases:

38.0.1 (2023-05-23)

Release highlights

This is a patch release that resolves an incorrect import issue that resulted in a "Cannot find module" error when using CKEditor 5 in a TypeScript environment.

Due to that and the CKEditor 5 versioning policy, we released all packages once again.

Check out the highlights of the original v38.0.0 release.

Bug fixes

  • ui: Fixed how the code exports the colorPaletteIcon icon, which could result with a broken build. Closes #14205. (commit)

Released packages

Check out the Versioning policy guide for more information.

Released packages (summary)

Other releases:


To see all releases, visit the release page.