Changelog History
Page 3
-
v25.0.0 Changes
January 25, 2021π Release highlights
π We are happy to announce the release of CKEditor 5 v25.0.0 that contains a security fix for the Markdown-GFM package. Even though this is a low impact issue and only affects the victimβs browser with no risk of data leakage, an upgrade is highly recommended! You can read more details in the relevant security advisory and contact us if you have more questions.
π This release brings a few improvements and bug fixes:
- UX improvements to editing around the block boundaries (#8137, #7636).
- Formatting large content will not freeze the editor.
- Uploading Base64 images will no longer cause a CSP violation.
- Unlinking an image will not crash the editor anymore.
π Read more in the blog post: https://ckeditor.com/blog/CKEditor-5-v25.0.0-with-flexible-annotations-improved-text-blocks-handling-and-performance-fixes/
Collaboration features
The CKEditor 5 Collaboration features changelog can be found here: https://ckeditor.com/collaboration/changelog.
β MINOR BREAKING CHANGES βΉοΈ
- π¦ ui: Configuration passed to
ToolbarView.fillFromConfig()
will be stripped off of any leading, trailing, and duplicated separators ('|'
and'-'
).
π Features
- π¦ autoformat: The horizontal line can be inserted by typing
---
in an empty block. Closes #5720. (commit) - π¦ autoformat: Square brackets should convert the current line to a to-do list item. Closes #7518. (commit)
- π¦ block-quote: The block quote should be split on the Backspace key press at the beginning of the block quote. Closes #7636. (commit)
- π¦ engine: The new
DataController#htmlProcessor
property is initialized with the instance of theHtmlDataProcessor
class and assigned to theDataController#processor
property by default. (commit) - π¦ typing: An empty block element at the beginning of the limit element should be converted to a paragraph on the Backspace key press. Closes #8137. (commit)
- π¦ ui: Implemented additional panel positions for the
DropdownView
class to address edge cases when the panel is cut due to small screen size (see #7700, #8669). (commit) - π¦ ui: Items baked into the editor bundles can now be removed from the toolbar by using
config.toolbar.removeItems
. Closes #7945. (commit)
π Bug fixes
- π¦ autoformat: Formatting will not be applied to
snake_case_scenarios
anymore. Closes #2388. (commit) - π¦ engine: The
setData()
helper in the dev-utils model should support thebatchType
option. Closes #7947. (commit) - π¦ export-pdf: The command should use the proper token if executed without providing a token in the command options.
- π¦ export-word: The command should use the proper token if executed without providing a token in the command options.
- π¦ horizontal-line: The horizontal line feature should require the
Widget
plugin. Closes #8825. (commit) - π¦ html-embed: Pasting an HTML embed widget from the clipboard will not clear its content anymore. Closes #8789. (commit)
- π¦ html-embed: The HTML embed plugin should require the
Widget
plugin. Closes #8720. (commit) - π¦ html-embed: The save button should close the source mode even if there are no changes. Closes #8560. (commit)
- π¦ image: The image plugins can be loaded in any order without causing an error. Closes #8270. (commit)
- π¦ image: Allow pasting an image with a data URL scheme as the value of the
src
attribute if strict CSP rules are defined. Closes #7957. (commit) - π¦ image: Fixed the image resizer for images with links. Closes #8749. (commit)
- π¦ image: An empty image caption should be hidden if the editor is in read-only mode. Closes #5168. (commit)
- π¦ link: Removing a link from an image should not throw an error when link decorators are also present. Closes #8401. (commit)
- π¦ list: The
delete
event handler is now listening on a higher priority to avoid being intercepted by the block quote and widget handlers. Closes #8706. (commit) - π¦ pagination: The pagination plugin should be disabled and a warning should be displayed if its configuration is missing.
- π¦ page-break: Dropping an image on the page break widget should not crash the editor. Closes #8788. (commit)
- π¦ page-break: The page break feature should require the
Widget
plugin. Closes #8825. (commit) - π¦ special-characters: The special characters dropdown should always fit into the viewport. Closes #7700, #8669. (commit)
- π¦ table: The contents of nested tables are no longer going through upcasting. Closes #8393. (commit)
- π¦ table: The table properties balloon should always follow the table when the alignment changes. Closes #6223. (commit)
- π¦ theme-lark: The HTML embed text in a disabled input in Safari on iOS should have the same color as in other browsers. Closes #8320. (commit)
- π¦ theme-lark: The dropdown button should not have an inner shadow in active state. Closes #8699. (commit)
- π¦ ui: The "Show more items" toolbar button tooltip should not overflow the editor. Closes #8655. (commit)
- π¦ ui: The
'-'
(new line) divider should not be rendered when grouping is enabled. Closes #8582. (commit) - π¦ word-count: The word count feature should consider a string with a special character as a single word. Closes #8078. (commit)
Other changes
- π¦ engine: Optimized the
Model#insertContent()
function to use as few operations as possible to reduce the time needed to handle pasting large content into the editor. Closes #8054, #715. (commit) - π¦ engine: Improved performance of the
Differ#getChanges()
function. Closes #8188. (commit) - π¦ export-word: The timezone option should be passed to the Export to Word converter.
- π¦ html-embed: A placeholder should be displayed if the HTML snippet is not previewable or empty. Closes #8435. (commit)
- π¦ link: Improved how the fake selection marker for the link UI is created. Closes #8092. (commit)
- π¦ mention: The conversion API reference is no longer passed down to the attribute properties. Closes #8370. (commit)
- β‘οΈ Updated translations. (commit, commit)
π Released packages
β Check out the Versioning policy guide for more information.
π Released packages (summary)
π Minor releases (contain minor breaking changes):
- π¦ @ckeditor/ckeditor5-ui: v24.0.0 => v25.0.0
π Releases containing new features:
- π¦ @ckeditor/ckeditor5-autoformat: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-block-quote: v24.0.0 => v25.0.0
- π @ckeditor/ckeditor5-build-classic: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-clipboard: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-editor-balloon: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-editor-classic: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-editor-decoupled: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-editor-inline: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-engine: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-horizontal-line: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-html-embed: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-list: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-special-characters: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-theme-lark: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-typing: v24.0.0 => v25.0.0
π Other releases:
- π¦ @ckeditor/ckeditor-cloud-services-core: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-adapter-ckfinder: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-alignment: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-autosave: v24.0.0 => v25.0.0
- π @ckeditor/ckeditor5-basic-styles: v24.0.0 => v25.0.0
- π @ckeditor/ckeditor5-build-balloon: v24.0.0 => v25.0.0
- π @ckeditor/ckeditor5-build-balloon-block: v24.0.0 => v25.0.0
- π @ckeditor/ckeditor5-build-decoupled-document: v24.0.0 => v25.0.0
- π @ckeditor/ckeditor5-build-inline: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-ckfinder: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-cloud-services: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-code-block: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-core: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-easy-image: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-enter: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-essentials: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-font: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-heading: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-highlight: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-image: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-indent: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-link: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-markdown-gfm: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-media-embed: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-mention: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-page-break: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-paragraph: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-paste-from-office: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-remove-format: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-restricted-editing: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-select-all: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-table: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-undo: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-upload: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-utils: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-watchdog: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-widget: v24.0.0 => v25.0.0
- π¦ @ckeditor/ckeditor5-word-count: v24.0.0 => v25.0.0
-
v24.0.0 Changes
December 07, 2020π Release highlights
π We are happy to announce the release of CKEditor 5 v24.0.0.
π This release brings some new features:
- Accessible, Material design like input labels.
- The long-awaited multiline toolbar.
- Inserting images by pasting the URL directly into the editor.
- The
editor.focus()
method.
π There were also some important bug fixes:
- π Multiple issues with the lists and list styles.
- π Follow-ups to the HMTL embed feature introduced in the previous release.
- Pasting plain text on link no longer breaks the link.
- Select All does select all now - including tables and block quotes.
- π The
supportAllValues
option in the font feature now works with nested elements.
Please note that there are some major breaking changes in this release. Be sure to review them before upgrading.
Read more in the blog post: https://ckeditor.com/blog/CKEditor-5-v24.0.0-with-multiline-toolbar-and-accessible-input-labels/
Collaboration features
The CKEditor 5 Collaboration features changelog can be found here: https://ckeditor.com/collaboration/changelog.
β MAJOR BREAKING CHANGES βΉοΈ
- π¦ engine: The
DocumentSelection#markers
collection will not include all markers by default. UseDocumentSelection#observeMarkers()
to register that the given marker should be put in the#markers
collection when the document selection is placed inside it. - π¦ theme-lark: The look and behavior of the
LabeledFieldView
UI component (used for displaying fields across the project) have changed. This may require changes in your integration if it customizes the.ck-labeled-field-view
selector (or its internals).
β MINOR BREAKING CHANGES βΉοΈ
- π¦ image: The parameters of the image utility function
insertImage()
parameters have changed. The removedwriter
instance is no longer needed. Additionally, you can specifyinsertPosition
as an optional parameter.
π Features
- π build-decoupled-document: Added new features to the build configuration: horizontal line, page break, remove formatting, and special characters). See #6146. (commit)
- π¦ core: Introduced the
focus()
method in the baseEditor
class. Closes #714. (commit) - π¦ engine: Introduced the
DataProcessor#registerRawContentMatcher()
API that marks content sections which contain arbitrary character data and should not be parsed during the conversion. See #8323. (commit) - π¦ image: Support for inserting images by pasting an image URL directly into the editor. Closes #8236. (commit)
- π¦ paste-from-office: Support for preserving the list styles while pasting from Word. Closes #8080. (commit)
- π¦ theme-lark: Added two new tooltip positions (east and west) in the
TooltipView
class and theButton
interface (see #8340). (commit) - π¦ theme-lark: Implemented a toolbar configuration that allows rendering toolbar items in multiple rows. Closes #6146. (commit)
- π¦ theme-lark: Added styles for a new south-east position of the
TooltipView
(see #8335). (commit) - π¦ ui: Added support for a new south-east position of the
TooltipView
(see #8335). (commit) - π» Made the input labels accessible across the editor UI. Closes #1098, #8242. (commit)
π Bug fixes
- π basic-styles: The code style should not be copied to a new line on pressing the Enter key. Closes #8144. (commit)
- π¦ clipboard: Pasting plain text inside a link or a restricted editing editable region will no longer break them. Closes #8158. (commit)
- π¦ engine:
DomConverter
will not trim whitespaces in nodes that are siblings to inline raw content elements (e.g. MathML). Closes #5870. (commit) - π¦ engine: The select all command should include all selectable elements in the content. Closes #7978. (commit)
- π¦ engine: The editor should not crash when selecting an image from bottom to top. Closes #7892. (commit)
- π¦ font: Fixed the
fontSize.supportAllValues
configuration for theFontSize
plugin to work with nested elements. Closes #8233. (commit) - π¦ html-embed: Tooltips in HTML embeds should not affect the editing root size or scrollbar. Closes #8340. (commit)
- π¦ html-embed: HTML embed editing UI should not be broken when the editor uses an RTL language. Closes #8335. (commit)
- π¦ html-embed: The editor will not crash after inserting broken HTML. Closes #8323. (commit)
- π¦ html-embed: Fixed saving the widget content after it lost the selection. Closes #8328. (commit)
- π¦ html-embed: The save button will now reflect the command state. Closes #8357. (commit)
- π¦ html-embed: The editing root should remain focused when saving changes in the HTML embed widget. Closes #8318. (commit)
- π¦ html-embed: Floated images are now properly displayed around HTML embeds. Closes #8332. (commit)
- π¦ image: Do not attach the image resizer to images inside the HTML embed preview. Closes #8433. (commit)
- π¦ indent: The block indent feature will now work with custom headings. Closes #8177. (commit)
- π¦ link: The editor should not crash when inserting a link after another link with the same URL. Closes #8210. (commit)
- π¦ link: Fixed the unlink command for a selection spreading over 3+ blocks. Closes #8030. (commit)
- π¦ link: Fixed a quick image flicker of the image resize frame when inserting an image. Closes #8088. (commit)
- π¦ list: List styles will be inherited correctly when pasting a list into another list. Closes #8160. (commit)
- π¦ paste-from-office: Improved the mechanism that detects nested lists when pasting from Word. In some scenarios, pasting nested lists could produce invalid results in the editor. Closes #7805. (commit)
- π¦ theme-lark: The HTML embed editing UI should not be broken when the editor uses an RTL language (see #8335). (commit)
- π¦ ui: A toolbar with grouped items should wrap to keep items visible in the viewport. Closes #5586 . (commit)
- π¦ undo: Fixed restoring selection on undo for some scenarios when some selection ranges are in the graveyard after restoring them. (commit)
- π¦ utils: Fixed a memory leak in
EventEmitterMixin
. See #8480. (commit) - π Fixed building documentation on Windows. Closes #7212. (commit)
Other changes
- π¦ engine: The
DocumentSelection#markers
collection will now be updated only for observed markers groups. SeeDocumentSelection#observeMarkers()
. (commit) - π¦ widget:
WidgetResize#visibleResizer
andWidgetResize#getResizerByViewElement()
are now public. See #8088. (commit) - π¦ widget:
WidgetResize
will now automatically setWidgetResize#visibleResizer
when callingWidgetResize#attachTo()
if the corresponding resizer's element is focused during the call. See #8088. (commit) - β‘οΈ Optimized icons. (commit)
- β‘οΈ Updated translations. (commit, commit)
π Released packages
β Check out the Versioning policy guide for more information.
π Released packages (summary)
π Major releases (contain major breaking changes):
- π¦ @ckeditor/ckeditor5-engine: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-theme-lark: v23.1.0 => v24.0.0
π Minor releases (contain minor breaking changes):
- π¦ @ckeditor/ckeditor5-image: v23.1.0 => v24.0.0
π Releases containing new features:
- π¦ @ckeditor/ckeditor5-alignment: v23.1.0 => v24.0.0
- π @ckeditor/ckeditor5-basic-styles: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-block-quote: v23.1.0 => v24.0.0
- π @ckeditor/ckeditor5-build-decoupled-document: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-ckfinder: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-code-block: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-core: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-editor-inline: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-font: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-heading: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-highlight: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-horizontal-line: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-html-embed: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-indent: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-link: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-list: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-markdown-gfm: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-media-embed: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-mention: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-page-break: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-paste-from-office: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-remove-format: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-restricted-editing: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-select-all: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-special-characters: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-table: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-ui: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-undo: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-widget: v23.1.0 => v24.0.0
π Other releases:
- π¦ @ckeditor/ckeditor-cloud-services-core: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-adapter-ckfinder: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-autoformat: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-autosave: v23.1.0 => v24.0.0
- π @ckeditor/ckeditor5-build-balloon: v23.1.0 => v24.0.0
- π @ckeditor/ckeditor5-build-balloon-block: v23.1.0 => v24.0.0
- π @ckeditor/ckeditor5-build-classic: v23.1.0 => v24.0.0
- π @ckeditor/ckeditor5-build-inline: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-clipboard: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-cloud-services: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-easy-image: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-editor-balloon: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-editor-classic: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-editor-decoupled: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-enter: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-essentials: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-paragraph: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-typing: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-upload: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-utils: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-watchdog: v23.1.0 => v24.0.0
- π¦ @ckeditor/ckeditor5-word-count: v23.1.0 => v24.0.0
-
v23.1.0 Changes
October 29, 2020π Release highlights
π We are happy to announce the release of CKEditor 5 v23.1.0.
π This release introduces a new HTML embed feature and adds the list style feature to the document editor build.
It also comes with new API features:
- The
data-cke-ignore-events
attribute in view element that prevents CKEditor from handling events fired in this element. - The
triggerBy
option that triggers element re-render.
π Other than that, this release brings several bug fixes, to name a few:
- π Unsupported element causes a JavaScript error instead of being filtered out.
- π Backspace does not remove all blocks in rare cases.
- List conversion throws an error if the list element is surrounded by raw text nodes.
- Opening the upload panel should focus the URL input.
- Validation for empty URL in the "Insert image via URL" dropdown.
- URLs with a
%
character are not transformed into media embeds.
Please note that there are some minor breaking changes. Be sure to review them before upgrading.
Read more in the blog post: https://ckeditor.com/blog/CKEditor-5-v23.1.0-with-raw-HTML-embedding-and-reconversion-API/
Collaboration features
The CKEditor 5 Collaboration features changelog can be found here: https://ckeditor.com/collaboration/changelog.
β MINOR BREAKING CHANGES βΉοΈ
- π¦ table: Removed the
ensureParagraphInTableCell()
converter that corrected the model state after the conversion process. Now the model will be fixed (if needed) by the post-fixer (injectTableCellParagraphPostFixer()
). - π¦ utils: The
attachLinkToDocumentation()
helper was removed. To log errors with an attached documentation link to the console, uselogWarning()
andlogError()
.
π Features
- π build-decoupled-document: Added the list style feature to the document editor build. Closes #7941. (commit)
- π¦ engine: Elements with the
data-cke-ignore-events
attribute will not propagate their events to the CKEditor 5 API. Closes #4600. (commit) - π¦ engine: Introduced an automatic model-to-view reconversion by defining the
triggerBy
option for theelementToElement()
conversion helper. Closes #7956. (commit) - π¦ html-embed: Introduced the HTML embed feature. Closes #8204. (commit)
π Bug fixes
- π¦ engine:
Model#deleteContent()
should properly remove content with multiple blocks selected. Closes #8145. (commit) - π¦ image: Removed focus outline in the "insert image via URL" form. Closes #7973. (commit)
- π¦ image: The insert button in the insert image dropdown is now disabled when the URL input is empty. Closes #7917. (commit)
- π¦ image: The URL input field is now focused when the image dropdown is opened. Closes #7896. (commit)
- π¦ link: Improved the look of link balloon button separators on mobiles. Closes #7704. (commit)
- π¦ link: Pressing Ctrl/Cmd+K when
LinkCommand
is disabled no longer shows the link UI. Closes #7919. (commit) - π¦ link: The autolink feature now uses
link.defaultProtocol
if set. Closes #8079. (commit) - π¦ list: List conversion does not throw an error if the list element is being surrounded by raw text nodes. Closes #8262. (commit)
- π¦ media-embed: Disabled the save button in the insert media dropdown when the input is empty. See #7917. (commit)
- π¦ media-embed: URLs with the
%
character are now allowed for embedding media. Closes #7488. (commit) - π¦ media-embed: Enabled the media embed command when the selected media is in a table cell. Closes #7604. (commit)
- π¦ table: Pasting nested tables with content unsupported by the editor elements no longer throws an exception. Closes #8098. (commit)
Other changes
- π¦ table: Table cell's content refreshing for the editing view now makes fewer view updates. (commit)
- π¦ utils: Improved the readability of custom errors in the console. Closes #8140. (commit)
- β‘οΈ Optimized icons. (commit)
- β‘οΈ Updated translations. (commit, commit)
π Released packages
β Check out the Versioning policy guide for more information.
π Released packages (summary)
π New packages:
- π¦ @ckeditor/ckeditor5-html-embed: v23.1.0
π Minor releases (contain minor breaking changes):
- π¦ @ckeditor/ckeditor5-table: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-utils: v23.0.0 => v23.1.0
π Releases containing new features:
- π¦ @ckeditor/ckeditor5-engine: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-image: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-theme-lark: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-widget: v23.0.0 => v23.1.0
π Other releases:
- π¦ @ckeditor/ckeditor-cloud-services-core: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-adapter-ckfinder: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-alignment: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-autoformat: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-autosave: v23.0.0 => v23.1.0
- π @ckeditor/ckeditor5-basic-styles: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-block-quote: v23.0.0 => v23.1.0
- π @ckeditor/ckeditor5-build-balloon: v23.0.0 => v23.1.0
- π @ckeditor/ckeditor5-build-balloon-block: v23.0.0 => v23.1.0
- π @ckeditor/ckeditor5-build-classic: v23.0.0 => v23.1.0
- π @ckeditor/ckeditor5-build-decoupled-document: v23.0.0 => v23.1.0
- π @ckeditor/ckeditor5-build-inline: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-ckfinder: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-clipboard: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-cloud-services: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-code-block: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-core: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-easy-image: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-editor-balloon: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-editor-classic: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-editor-decoupled: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-editor-inline: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-enter: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-essentials: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-font: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-heading: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-highlight: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-horizontal-line: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-indent: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-link: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-list: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-markdown-gfm: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-media-embed: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-mention: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-page-break: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-paragraph: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-paste-from-office: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-remove-format: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-restricted-editing: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-select-all: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-special-characters: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-typing: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-ui: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-undo: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-upload: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-watchdog: v23.0.0 => v23.1.0
- π¦ @ckeditor/ckeditor5-word-count: v23.0.0 => v23.1.0
- The
-
v23.0.0 Changes
September 29, 2020π Release highlights
π We are happy to announce the release of CKEditor 5 v23.0.0.
π This release brings the new pagination feature.
π Other than that, we focused on bug fixes and stability improvements. Some highlights are listed below:
- π Five bug fixes for list and list style plugins.
- π The "upload image via URL" feature was extracted into a separate image insert plugin.
- Improvements for pasting as plain text using Ctrl/Cmd + Shift + V.
- π Fixed a case where the link balloon toolbar would be mispositioned in some rare cases.
Please note that there are some major breaking changes. Be sure to review them before upgrading.
π Read more in the blog post: https://ckeditor.com/blog/CKEditor-5-v23.0.0-with-pagination-feature-list-styles-and-improved-image-upload/
Collaboration features
The CKEditor 5 Collaboration features changelog can be found here: https://ckeditor.com/collaboration/changelog.
β MAJOR BREAKING CHANGES βΉοΈ
- π¦ image: In order to use the "insert image via URL" feature you now need to load the
ImageInsert
plugin and use theimageInsert
button instead of theimageUpload
button that implemented this functionality previously.
β MINOR BREAKING CHANGES βΉοΈ
- π¦ clipboard: When pasting plain text, each double line break is now treated as a paragraph separator, while a single line break is converted into a soft break. Formerly, every single line break was treated as paragraph separation.
π Features
- π¦ clipboard: Improved line to paragraph/soft break retention when pasting as plain text. Closes #7884. (commit)
- π¦ utils: Added a user-agent check for the Blink engine to the
env
module. (commit) - Introduced the
PastePlainText
feature that detects pasting with Ctrl/cmd + Shift + V keystroke. Closes #7799. (commit)
π Bug fixes
- π¦ clipboard: The editor now properly places soft breaks in the plain text clipboard data representation. Closes #8045. (commit)
- π¦ engine: The
model.History#getOperations()
method was returning incorrect values if history had operations with negative version numbers or version numbers differing by more than one. Closes #8143. (commit) - π¦ image: Aligned and fixed the styling for the split button in the
ImageInsert
dropdown. Closes #7986, #7927. (commit) - π¦ link: Manual decorators will no longer be corrupted by the link image plugin. Closes #7975. (commit)
- π¦ link: Prevented throwing an error when creating a link from a multi-block selection. Closes #7907. (commit)
- π¦ link: Pressing the Enter key should not throw an error when a non-collapsed selection ends with a valid URL. Closes #7983. (commit)
- π¦ link: The link balloon positioning should be correct when the selection is collapsed in some rare cases. Closes #7926. (commit)
- π¦ list: The list style plugin will no longer cause the editor to crash when indenting a list item that is the last element in the editor. Closes #8072. (commit)
- π¦ list: Undo will restore a proper value of the
list-style-type
attribute in the view element after undoing list merge. Closes #7930. (commit) - π¦ list: Fixed a bug that prevented using the same list style for nested lists. Closes #8081. (commit)
- π¦ list: The
listStyle
attribute should be inherited when inserting or replacing alistItem
with the same list type (thelistType
attribute for the inserted or modified item is equal to the next or previous sibling list). Closes #7932. (commit) - π¦ list: When removing the content between two lists items, these lists will be merged into a single list. The second list should adjust its
listStyle
attribute to the first list. Closes #7879. (commit) - π¦ paste-from-office: Fixed pasting a list with an empty item from Google Docs. Closes #7958. (commit)
Other changes
- π¦ cloud-services-core: Change the token refreshing mechanism to depend on the token expiration time. (commit)
- π¦ image: The
config.image.upload.panel.items
option does not need to be set anymore in order to show the "insert image via URL form". It is enough to load the newImageInsert
plugin and use the newimageInsert
button. See #8034. (commit) - π¦ image: Introduced
ImageInsert
as a standalone plugin that contains theImageUpload
functionality. Closes #7890. (commit) - π¦ image: The
ImageUploadPanelView
form label should change depending on whether the image is selected or not. Closes #7878. (commit) - π¦ link: The link plugin now comes with the autolink feature enabled by default. Closes #7682. (commit)
- π¦ theme-lark: Balloon panel arrows pointing down should have realistic shadows. Closes #7928. (commit)
- β‘οΈ Updated translations. (commit, commit)
π Released packages
β Check out the Versioning policy guide for more information.
π Released packages (summary)
π Major releases (contain major breaking changes):
- π¦ @ckeditor/ckeditor5-easy-image: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-image: v22.0.0 => v23.0.0
π Minor releases (contain minor breaking changes):
- π¦ @ckeditor/ckeditor5-clipboard: v22.0.0 => v23.0.0
π Releases containing new features:
- π¦ @ckeditor/ckeditor5-utils: v22.0.0 => v23.0.0
π Other releases:
- π¦ @ckeditor/ckeditor-cloud-services-core: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-adapter-ckfinder: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-alignment: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-autoformat: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-autosave: v22.0.0 => v23.0.0
- π @ckeditor/ckeditor5-basic-styles: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-block-quote: v22.0.0 => v23.0.0
- π @ckeditor/ckeditor5-build-balloon: v22.0.0 => v23.0.0
- π @ckeditor/ckeditor5-build-balloon-block: v22.0.0 => v23.0.0
- π @ckeditor/ckeditor5-build-classic: v22.0.0 => v23.0.0
- π @ckeditor/ckeditor5-build-decoupled-document: v22.0.0 => v23.0.0
- π @ckeditor/ckeditor5-build-inline: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-ckfinder: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-cloud-services: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-code-block: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-core: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-editor-balloon: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-editor-classic: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-editor-decoupled: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-editor-inline: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-engine: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-enter: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-essentials: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-font: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-heading: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-highlight: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-horizontal-line: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-indent: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-link: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-list: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-markdown-gfm: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-media-embed: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-mention: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-page-break: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-paragraph: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-paste-from-office: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-remove-format: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-restricted-editing: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-select-all: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-special-characters: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-table: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-theme-lark: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-typing: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-ui: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-undo: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-upload: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-watchdog: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-widget: v22.0.0 => v23.0.0
- π¦ @ckeditor/ckeditor5-word-count: v22.0.0 => v23.0.0
-
v22.0.0 Changes
August 26, 2020π Release highlights
π We are happy to announce the release of CKEditor 5 v22.0.0.
π This release brings a few new features:
- π The list style plugin.
- π The Markdown plugin.
- Inserting image with URL.
- A new event-based conversion API.
Please note that there are some major breaking changes. Be sure to review them before upgrading.
π Read more in the blog post: https://ckeditor.com/blog/ckeditor-5-v22.0.0-with-inserting-images-via-url-list-styles-and-markdown-plugin/
Collaboration features
The CKEditor 5 Collaboration Features changelog can be found here: https://ckeditor.com/collaboration/changelog.
β MAJOR BREAKING CHANGES βΉοΈ
- π¦ engine: The
view
andmodel
callbacks of all one-way converter helpers (such aseditor.conversion.for( 'upcast' ).elementToElement()
,editor.conversion.for( 'downcast' ).attributeToElement()
) now take theconversionApi
as their second parameter. Previously, the second parameter was the downcast or upcast writer instance. Now, the writer needs to be retrieved fromconversionApi.writer
. An example migration snippet can be found in a GitHub comment. - π¦ engine: The
config.view
parameter for upcast element-to-element conversion helper configurations is now mandatory. You can retain the previous "catch-all" behavior for the upcast converter using theconfig.view = /[\s\S]+/
value.
β MINOR BREAKING CHANGES βΉοΈ
- π¦ table: The
tableCell
model element brought by theTableEditing
plugin is no longer an object (SchemaItemDefinition#isObject
) in theSchema
but a selectable (SchemaItemDefinition#isSelectable
). Please update your integration code accordingly. See #6432. - π¦ ui: It is now possible to override existing components when adding new ones to the component factory (previously an error was thrown). See #7803.
π Features
- π¦ clipboard: Pasting a plain text will inherit selection attributes. Closes #1006. (commit)
- π¦ engine: Options passed to
Editor#getData()
andDataController#get()
are now available in downcast conversion under theconversionApi.options
object. Closes #7628. (commit) - π¦ engine: Added the conversion API to upcast and downcast helpers. Closes #7334. (commit)
- π¦ engine: Introduced the
SchemaItemDefinition#isSelectable
andSchemaItemDefinition#isContent
properties. Closes #6432. (commit) - π¦ engine: Introduced new upcast
ConversionApi
helper methods:conversionApi.safeInsert()
andconversionApi.updateConversionResult()
. The new methods are intended to simplify writing event-based element-to-element converters. Closes #7336. (commit) - π¦ image: Introduced the insert image via URL feature. Closes #7794. (commit)
- π¦ indent: Block indentation is now recognized as a formatting attribute. Closes #2358. (commit)
- π¦ list: Introduced the list style feature that allows customizing the list marker. Closes #7801. (commit)
- π¦ markdown-gfm: Introduced the
Markdown
plugin. Closes #6007. (commit) - π¦ markdown-gfm: The Markdown data processor was revamped and got the dependencies updated. Closes #5988. (commit)
- π¦ utils: Introduced the
Rect#getBoundingRect()
method that returns aRect
instance containing all the rectangles passed as an argument. Closes #7858. (commit) - π¦ utils: Introduced the
passive
option support in theDomEmitterMixin#listenTo()
method. Closes #7828. (commit) - π¦ widget: Keyboard vertical navigation in text lines next to objects should move the caret to the position closest to the object. Closes #7630. (commit)
π Bug fixes
- π¦ engine: Upcast conversion will now try to wrap text or inline elements in a paragraph in a place where they are not allowed but a paragraph is allowed. Closes #7753, #6698. (commit)
- π¦ engine: The selection will no longer inherit attributes from an empty inline element. Closes #7459. (commit)
- π¦ link: Fixed a case where the link balloon would point to an invalid place after the browser scroll or resize. Closes #7705. (commit)
- π¦ ui: Dropdown panels from the editor's main toolbar should always float above the contextual balloons from the editor's content. Closes #7874. (commit)
- π¦ ui: Balloon toolbar should reposition and ungroup items correctly when the window resizes. Closes #6444. (commit)
- π¦ utils: The
Rect
utility returns wrong sizes in case of a sequenced range. Closes #7838. (commit)
Other changes
- π¦ markdown-gfm: Upgraded to Marked v1.1.1. Closes #7850. (commit)
- π¦ mention: The Space key will not confirm a mention selection from the list. Closes #6394. (commit)
- π¦ remove-format: Block formatting should be removed if the selection is inside that block. (commit)
- π¦ table: The
tableCell
model element brought by theTableEditing
plugin is no longer an object (SchemaItemDefinition#isObject
) in theSchema
but a selectable (SchemaItemDefinition#isSelectable
) (see #6432). (commit) - π¦ table: Pressing Shift+Tab in the first table cell now selects the entire table. Closes #7535. (commit)
- π¦ ui: The
clickOutsideHandler()
function will take into consideration that the editor can be placed in a shadow root while detecting a click. Closes #7743. (commit)
Thanks to @ywsang.
π Released packages
β Check out the Versioning policy guide for more information.
π Released packages (summary)
π Major releases (contain major breaking changes):
- π¦ @ckeditor/ckeditor5-engine: v21.0.0 => v22.0.0
π Minor releases (contain minor breaking changes):
- π¦ @ckeditor/ckeditor5-table: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-ui: v21.0.0 => v22.0.0
π Releases containing new features:
- π¦ @ckeditor/ckeditor5-autoformat: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-clipboard: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-code-block: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-core: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-enter: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-font: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-heading: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-horizontal-line: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-image: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-indent: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-link: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-list: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-markdown-gfm: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-media-embed: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-mention: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-page-break: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-paragraph: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-remove-format: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-restricted-editing: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-theme-lark: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-typing: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-utils: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-widget: v21.0.0 => v22.0.0
π Other releases:
- π¦ @ckeditor/ckeditor-cloud-services-core: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-adapter-ckfinder: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-alignment: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-autosave: v21.0.0 => v22.0.0
- π @ckeditor/ckeditor5-basic-styles: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-block-quote: v21.0.0 => v22.0.0
- π @ckeditor/ckeditor5-build-balloon: v21.0.0 => v22.0.0
- π @ckeditor/ckeditor5-build-balloon-block: v21.0.0 => v22.0.0
- π @ckeditor/ckeditor5-build-classic: v21.0.0 => v22.0.0
- π @ckeditor/ckeditor5-build-decoupled-document: v21.0.0 => v22.0.0
- π @ckeditor/ckeditor5-build-inline: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-ckfinder: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-cloud-services: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-easy-image: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-editor-balloon: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-editor-classic: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-editor-decoupled: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-editor-inline: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-essentials: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-highlight: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-paste-from-office: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-select-all: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-special-characters: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-undo: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-upload: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-watchdog: v21.0.0 => v22.0.0
- π¦ @ckeditor/ckeditor5-word-count: v21.0.0 => v22.0.0
-
v21.0.0 Changes
July 28, 2020π Release highlights
π We are happy to announce the release of CKEditor 5 v21.0.0.
π This release packs quite a few all-around improvements, including:
- π» A convenient UI for changing the image width to a predefined size.
- Autolinking URLs and e-mails in the editor content.
- Distinguishing between the inside and the outside of
<code>
. - π Better experience when replacing (typing over) a link text.
π We have also fixed a handful of bugs, for example:
- Calling the
editor.setData()
method will now also clear the undo stack. - Linking to a part of a to-do list item.
- Automatic link decorators in case of a linked image.
Finally, we also took care of some of the developer experience-oriented improvements:
- We changed marker conversion so that it does not break the HTML structure in some cases.
- Introduced a new
RawElement
class to make it simpler to implement features like "embedding raw HTML".
Please note that there are some major breaking changes. Be sure to review them before upgrading.
π Read more in the blog post: https://ckeditor.com/blog/ckeditor-5-v21.0.0-with-autolink-and-export-to-word-released/
Collaboration features
The CKEditor 5 Collaboration features changelog can be found here: https://ckeditor.com/collaboration/changelog.
β MAJOR BREAKING CHANGES βΉοΈ
- The
editor.setData()
method now clears the undo and redo stacks. - π¦ engine: The
Text#is()
andTextProxy#is()
methods (in the model and the view) now expect to be called with'$text'
instead of'text'
and'$textProxy'
instead of'textProxy'
. - π¦ engine: The
is()
method (e.g.Element#is()
,Text#is()
,AttributeElement#is()
orContainerElement#is()
) in both the model and the view no longer treats the first argument as an element name. To check the element name, use the second argument instead (node.is( 'element', 'paragraph' )
instead ofnode.is( 'paragraph' )
). - π¦ engine: The marker-to-data conversion was revamped. The data format changed, the new conversion helpers were introduced and a new rule was implemented that a comma (
,
) is not allowed in the marker name. See the GitHub issue for a walkthrough and example migration path. - π¦ engine: The
DomConverter#getParentUIElement()
method was renamed toDomConverter#getHostViewElement()
because now it supports bothUIElement
andRawElement
(see #4469).
β MINOR BREAKING CHANGES βΉοΈ
- π¦ engine: The
bindTwoStepCaretToAttribute()
utility function was removed. Useeditor.plugins.get( TwoStepCaretMovement ).registerAttribute()
instead. - π¦ table: The
findAncestor()
utility function was removed. - π¦ table: The parameters of
TableUtils#createTable()
have changed. Use theoptions
object to pass the number ofrows
andcolumns
. - π¦ table: The
removeEmptyRows()
andremoveEmptyRowsColumns()
utility functions do not require thebatch
parameter anymore. - π¦ table: The
downcastTableHeadingRowsChange()
downcast converter was removed. It is no longer possible to override theheadingRows
attribute change in a single converter. This behavior can be customized using the table downcast converter. See #7601.
π Features
- π¦ autoformat: Block autoformat can also be triggered in blocks other than a paragraph. Closes #6170. (commit)
- π¦ autoformat: Enabled the autoformatting feature also for blocks that are not empty. (commit)
- π¦ engine: Implemented the view
RawElement
. Added theDowncastWriter#createRawElement()
method. Closes #4469. (commit) - π¦ engine: The
DataController#set()
method is now decorated so plugins can listen toeditor.setData()
calls. (commit) - π¦ engine: Introduced new marker conversion helpers that produce semantic HTML data output. See
DowncastHelpers#markerToData()
andUpcastHelpers#dataToMarker()
. Closes #7556. (commit) - π¦ engine: Added model
Position#findAncestor()
andElement#findAncestor()
methods. Closes #3233. (commit) - π¦ engine: Changed the visibility scope of
Mapper#findPositionIn()
fromprivate
topublic
. (commit) - π¦ engine: Added the
Range#getJoined()
method for joining ranges. (commit) - π¦ image: Introduced the UI for manual image resizing via a dropdown or standalone buttons. Closes #5201. (commit)
- π¦ image: Introduced the UI for restoring the original image size. Closes #5197. (commit)
- π¦ link: Added an icon in the top-right corner of an image indicating that the image is linked. Closes #7457. (commit)
- π¦ link: Typing over the selected link will not remove the link itself. Instead, the typed text will replace the link text. Closes #4762. (commit)
- π¦ link: Added the
AutoLink
feature which replaces a plain text with a URL or e-mail address if the typed or pasted content is a link. Closes #4715. (commit) - π¦ page-break: Added support for pasting page breaks from Microsoft Word. Closes #2508. (commit)
- π¦ table: Added an option to set heading rows and columns for the
insertTable
command andTableUtils#createTable()
. Closes #6768. (commit) - π¦ typing: Introduced the
TwoStepCaretMovement
plugin. See #7444. (commit) - π¦ utils: Introduced the
Collection#addMany()
method for adding multiple items in a single call. Closes #7627. (commit) - π¦ utils: Introduced the
Collection#change
event. See #7627. (commit) - π¦ widget: Made it possible to disable the
WidgetTypeAround
plugin on the fly. Closes #6774. (commit)
π Bug fixes
- π¦ engine: Fixed incorrect selection fixing in some multi-cell selection scenarios. Closes #7659. (commit)
- π¦ link: After backspacing into a link, the caret should still stay outside the link. Closes #7521. (commit)
- π¦ link: Manual and automatic decorators will work properly with a link on an image. Closes #7519. (commit)
- π¦ link: Fake visual selection should not be added to the editor's data. Closes #7614. (commit)
- π¦ list: The editor should not crash on the Enter keypress inside a to-do list item containing soft-breaks. Closes #5866, #6585. (commit)
- π¦ list: Links inside a to-do list item should be properly converted to HTML. Closes #5779. (commit)
- π¦ media-embed: The editor's placeholder should disappear after inserting media into an empty editor. Closes #1684. (commit)
- π¦ table: Pasting a table into an existing table should not set the multi-cell selection if the
TableSelection
plugin is disabled. Closes #7486. (commit) - π¦ table: Pasting a table into an existing table with headings should not break the table layout. Closes #7453. (commit)
- π¦ table: The table structure should not be changed when removing the heading row. Closes #7454, #7601. (commit)
- π¦ table: Merging cells of multiple whole rows or columns should not crash the editor. (commit)
- π¦ ui: Removing the first hidden (grouped) toolbar button should not throw an exception. Closes #7655. (commit)
- π¦ undo: Undo/redo stacks should be cleared on
DataController#set()
. Closes #4060. (commit) - π¦ widget:
Resizer#redraw()
should not change the editing view unless a different size should be set. Closes #7633. (commit) - π¦ widget: Triple-clicking inside an image caption should not crash the editor in Firefox. Closes #7542. (commit)
- π¦ widget: Triple-clicking a link inside an image caption should not crash the editor in Safari. Closes #6021. (commit)
- π¦ widget: The resizing mechanism will not trigger other
view.Document#mousedown
events. Thanks to that, when resizing an image inside a cell, the mouse will not trigger the table's actions. Closes #6755. (commit)
Other changes
- π¦ core: Added icons that represent different sizes of an object (
object-size-*.svg
) (see #7559). (commit) - π¦ core: The
Editor
,CommandCollection
andMultiCommand
'sexecute()
method will return the result of the calledcommand.execute()
. Closes #7647. (commit) - π¦ engine: Changed arguments of the
Element#is()
,Text#is()
,TextProxy#is()
,AttributeElement#is()
,ContainerElement#is()
,EditableElement#is()
,EmptyElement#is()
,UIElement#is()
methods and all their usages. Closes #7608. (commit) - π¦ engine: Added the
model.Schema
instance to the downcast conversion API, available underconversionApi.schema
. (commit) - π¦ engine:
UpcastHelpers#elementToMarker()
is now deprecated. UseUpcastHelpers#dataToMarker()
instead.DowncastHelpers#markerToElement()
should only be used for editing downcast. (commit) - π¦ engine: Table cells should not be filled with single spaces when pasting a table with empty cells. Closes #7487. (commit)
- π¦ engine: The
bindTwoStepCaretToAttribute()
engine's utility was removed. See #7444. (commit) - π¦ image: Allow to configure
ImageResize
in a more granular way. For example, by combiningImageResizeEditing
withImageResizeHandles
orImageResizeButtons
to resize an image with handles or with the image toolbar UI components (dropdown or standalone buttons) respectively. Closes #7579. (commit) - π¦ image: Image alignment styles (
alignLeft
,alignCenter
andalignRight
) no longer setmax-width: 50%
of the<figure>
element. If you wish them to still do so, add these styles to your content styles. (commit) - π¦ table: Restoring the document selection to the ranges as they were before undoing table cells merge. Closes #6639. (commit)
- π¦ ui: Improved toolbar rendering time when multiple items are added or removed at once (e.g. during the editor initialization). Closes #6194. (commit)
- π Link's attribute element highlight is now
inlineHighlight()
- a public utility. (commit)
π Released packages
β Check out the Versioning policy guide for more information.
π Released packages (summary)
π Major releases (contain major breaking changes):
- π¦ @ckeditor/ckeditor5-engine: v20.0.0 => v21.0.0
π Minor releases (contain minor breaking changes):
- π¦ @ckeditor/ckeditor5-table: v20.0.0 => v21.0.0
π Releases containing new features:
- π¦ @ckeditor/ckeditor5-autoformat: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-font: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-image: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-link: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-list: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-media-embed: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-page-break: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-paste-from-office: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-theme-lark: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-typing: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-undo: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-utils: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-widget: v20.0.0 => v21.0.0
π Other releases:
- π¦ @ckeditor/ckeditor-cloud-services-core: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-adapter-ckfinder: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-alignment: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-autosave: v20.0.0 => v21.0.0
- π @ckeditor/ckeditor5-basic-styles: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-block-quote: v20.0.0 => v21.0.0
- π @ckeditor/ckeditor5-build-balloon: v20.0.0 => v21.0.0
- π @ckeditor/ckeditor5-build-balloon-block: v20.0.0 => v21.0.0
- π @ckeditor/ckeditor5-build-classic: v20.0.0 => v21.0.0
- π @ckeditor/ckeditor5-build-decoupled-document: v20.0.0 => v21.0.0
- π @ckeditor/ckeditor5-build-inline: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-ckfinder: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-clipboard: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-cloud-services: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-code-block: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-core: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-easy-image: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-editor-balloon: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-editor-classic: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-editor-decoupled: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-editor-inline: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-enter: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-essentials: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-heading: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-highlight: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-horizontal-line: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-indent: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-markdown-gfm: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-mention: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-paragraph: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-remove-format: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-restricted-editing: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-select-all: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-special-characters: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-ui: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-upload: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-watchdog: v20.0.0 => v21.0.0
- π¦ @ckeditor/ckeditor5-word-count: v20.0.0 => v21.0.0
-
v20.0.0 Changes
June 24, 2020π Release highlights
π We are happy to announce the release of CKEditor 5 v20.0.0.
π This release brings some highly anticipated features:
- π Support for linking images.
- Typing around widgets.
- An option to automatically set the link protocol.
- Improved selection handling when working with links.
π New features were also accompanied by a set of bug fixes, to name a few:
- Autoformatting will no longer change formatting when typing in an inline code.
- The editor will no longer crash if there is an HTML comment in the source data.
π Read more in the blog post: https://ckeditor.com/blog/CKEditor-5-v20.0.0-with-linking-images-and-multi-cell-comments-released/
Collaboration features
The CKEditor 5 Collaboration features changelog can be found here: https://ckeditor.com/collaboration/changelog.
β MAJOR BREAKING CHANGES βΉοΈ
- π¦ ckeditor5: Node
>=12.0.0
is required now.
β MINOR BREAKING CHANGES βΉοΈ
- π¦ table: The
TableNavigation
plugin was renamed toTableKeyboard
. - π¦ table: The values returned by the
TableWalker
iterator have changed. See #6785. - π¦ widget: Removed the
getWidgetTypeAroundPositions()
helper since the "Insert new paragraph" buttons are now visible regardless of the widget location in the document - π The
isTableWidget()
andtoTableWidget()
utility functions were removed. - π The functions
getSelectedTableWidget()
andgetTableWidgetAncestor()
fromtable/utils
module were moved to thetable/utils/widget
module. - π The functions
getSelectedTableCells()
,getTableCellsContainingSelection()
,getSelectionAffectedTableCells()
,getRowIndexes()
,getColumnIndexes()
, andisSelectionRectangular()
fromtable/utils
module were moved totable/utils/selection
module. - π The functions
getVerticallyOverlappingCells()
,splitHorizontally()
,getHorizontallyOverlappingCells()
, andsplitVertically()
fromtable/utils
module were moved totable/utils/structure
module. - β‘οΈ The functions
findAncestor()
,updateNumericAttribute()
,createEmptyTableCell()
, andisHeadingColumnCell()
fromtable/commands/utils
module were moved totable/utils/common
module. - π The functions
getSingleValue()
andaddDefaultUnitToNumericValue()
fromtable/commands/utils
module were moved totable/utils/table-properties
module. - π The functions
cropTableToDimensions()
andtrimTableCellIfNeeded()
fromtable/tableselection/croptable
module were moved totable/utils/structure
module. - π The functions
repositionContextualBalloon()
,getBalloonTablePositionData()
, andgetBalloonCellPositionData()
fromtable/ui/utils
module were moved totable/utils/ui/contextualballoon
module. - π
The functions
getBorderStyleLabels()
,getLocalizedColorErrorText()
,getLocalizedLengthErrorText()
,colorFieldValidator()
,lengthFieldValidator()
,lineWidthFieldValidator()
,getBorderStyleDefinitions()
,fillToolbar()
, andgetLabeledColorInputCreator()
fromtable/ui/utils
module were moved totable/utils/ui/table-properties
module. - π The
defaultColors
constant fromtable/ui/utils
module was moved totable/utils/ui/table-properties
module.
π Features
- π¦ link: Introduced the linking images feature. Closes #7330. (commit)
- π¦ link: Introduced the
LinkImageUI
plugin that brings a UI to wrap images in links. Closes #7331. (commit) - π¦ link: A fake caret (selection) should be displayed in the content when the link input has focus and the browser does not render the native caret (selection). Closes #4721. (commit)
- π¦ link: Introduced the
config.link.defaultProtocol
option for adding it automatically to the links when it's not provided by the user in the link form. Closes #4858. (commit) - π¦ theme-lark: Added styles for the fake link caret (selection) (see #4721). (commit)
- π¦ theme-lark: Added styles for a "fake caret" brought by the
WidgetTypeAround
plugin (see #6693). (commit) - π¦ typing: Created a public
isNonTypingKeystroke()
helper (see #6693). (commit) - π¦ upload: Introduced the
config.simpleUpload.withCredentials
request configuration. Closes #7282. (commit) - π¦ utils: Created
isArrowKeyCode()
,getLocalizedArrowKeyCodeDirection()
, andisForwardArrowKeyCode()
helpers (see #6693). (commit) - π¦ widget: Implemented keyboard support for inserting paragraphs around block widgets using a "fake horizontal caret" (
WidgetTypeAround
). Both "Insert new paragraph" buttons are now always displayed for all block widgets regardless of their location in the document. Closes #6693, #6825, #6694. (commit)
π Bug fixes
- π¦ autoformat: Autoformatting should not occur inside an existing text with a model
code
attribute. Closes #1239. (commit) - π¦ engine: The editor should not crash when the initial data includes HTML comments. Closes #5734. (commit)
- π¦ engine: The model selection post-fixer should not set a new selection if the ranges before and after post-fixing are the same (see #6693). (commit)
- π¦ engine: Backspace will no longer change the type of the trailing block. Closes #6680. (commit)
- π¦ font: The Font Family feature should apply the complete family value from the configuration when
config.fontFamily.supportAllValues
istrue
. Closes #7285. (commit) - π¦ image: The widget toolbar won't be shown if an empty collection of items was provided in the editor's configuration. Closes #5857. (commit)
- π¦ image: The
src
andalt
attributes for the image element will be always added to the editor's data. Even if they are empty. Closes #5033. (commit) - π¦ table: Table multi-cell selection should not be possible with the keystrokes when the
TableSelection
plugin is disabled. Closes #7483. (commit) - π¦ table: Copied and pasted table fragment should maintain the proper structure when the fragment contains merged table cells. Closes #7245. (commit)
- π¦ table: Removing empty rows will no longer produce an invalid table model in certain scenarios. Closes #6609. (commit)
- π¦ ui: The
BalloonToolbar
should not show up when multiple objects (for instance, table cells) are selected at a time. Closes #6443. (commit)
Other changes
- π¦ engine: Added the
ignoreMarkers
option to theModel#hasContent()
method. (commit) - π¦ engine: Added Writer#cloneElement(). Closes #6819. (commit)
- π¦ horizontal-line: Improved the look of horizontal lines in the editor content. Closes #7418. (commit)
- π¦ link: The selection after inserting a link will land after the inserted element. Thanks to that a user will be able to type directly after the link without extending the link element. Closes #1016. (commit)
- π¦ link: After clicking at the beginning or end of the link element, the selection will land before/after the clicked element. Thanks to that a user will be able to typing before or after the link element as normal text without extending the link. See #1016. (commit)
- π¦ paragraph: The
InsertParagraphCommand
should split ancestors of thePosition
to find a parent that allows'paragraph'
(see #6693). (commit) - π¦ select-all: Improved the select-all feature so that it includes more and more content if the selection was anchored in a nested editable. Closes #6621. (commit)
- π¦ table: Removed
options.asWidget
from most of the table converters which are never run in data pipeline. (commit) - π¦ table: Marker on table cells should be downcasted to CSS classes on cells (instead of wrapping the content). Closes #7360. (commit)
- π¦ table: Pasting a table into a table is more tolerant for whitespaces around a pasted table. Closes #7379. (commit)
- π¦ table: Extracted
TableMouse
plugin fromTableSelection
plugin. Closes #6757. (commit) - π¦ table: Refactor values returned by the
TableWalker
iterator. Closes #6785. (commit) - π¦ table: Add
row
,startColumn
, andendColumn
options toTableWalker
constructor. See #6785. (commit)
π Released packages
β Check out the Versioning policy guide for more information.
π Released packages (summary)
π Minor releases (contain minor breaking changes):
- π¦ @ckeditor/ckeditor5-table: v19.1.0 => v20.0.0
- π¦ @ckeditor/ckeditor5-widget: v19.1.0 => v20.0.0
π Releases containing new features:
- π¦ @ckeditor/ckeditor5-engine: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-image: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-link: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-paragraph: v19.1.0 => v20.0.0
- π¦ @ckeditor/ckeditor5-theme-lark: v19.1.0 => v20.0.0
- π¦ @ckeditor/ckeditor5-typing: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-upload: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-utils: v19.0.2 => v20.0.0
π Other releases:
- π¦ @ckeditor/ckeditor-cloud-services-core: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-adapter-ckfinder: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-alignment: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-autoformat: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-autosave: v19.0.1 => v20.0.0
- π @ckeditor/ckeditor5-basic-styles: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-block-quote: v19.0.1 => v20.0.0
- π @ckeditor/ckeditor5-build-balloon: v19.0.2 => v20.0.0
- π @ckeditor/ckeditor5-build-balloon-block: v19.0.2 => v20.0.0
- π @ckeditor/ckeditor5-build-classic: v19.0.2 => v20.0.0
- π @ckeditor/ckeditor5-build-decoupled-document: v19.0.2 => v20.0.0
- π @ckeditor/ckeditor5-build-inline: v19.0.2 => v20.0.0
- π¦ @ckeditor/ckeditor5-ckfinder: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-clipboard: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-cloud-services: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-code-block: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-core: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-easy-image: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-editor-balloon: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-editor-classic: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-editor-decoupled: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-editor-inline: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-enter: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-essentials: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-font: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-heading: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-highlight: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-horizontal-line: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-indent: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-list: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-markdown-gfm: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-media-embed: v19.1.0 => v20.0.0
- π¦ @ckeditor/ckeditor5-mention: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-page-break: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-paste-from-office: v19.0.2 => v20.0.0
- π¦ @ckeditor/ckeditor5-remove-format: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-restricted-editing: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-select-all: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-special-characters: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-ui: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-undo: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-watchdog: v19.0.1 => v20.0.0
- π¦ @ckeditor/ckeditor5-word-count: v19.0.1 => v20.0.0
-
v19.1.1 Changes
May 29, 2020π Bug fixes
- π¦ paste-from-office: The paste from Office feature should retain background and font styles when pasting tables. Closes #7275. (commit)
π Released packages
β Check out the Versioning policy guide for more information.
π Released packages (summary)
π Other releases:
- π @ckeditor/ckeditor5-build-balloon: v19.0.1 => v19.0.2
- π @ckeditor/ckeditor5-build-balloon-block: v19.0.1 => v19.0.2
- π @ckeditor/ckeditor5-build-classic: v19.0.1 => v19.0.2
- π @ckeditor/ckeditor5-build-decoupled-document: v19.0.1 => v19.0.2
- π @ckeditor/ckeditor5-build-inline: v19.0.1 => v19.0.2
- π¦ @ckeditor/ckeditor5-paste-from-office: v19.0.1 => v19.0.2
- π¦ @ckeditor/ckeditor5-utils: v19.0.1 => v19.0.2
-
v19.1.0 Changes
May 27, 2020π Release highlights
π We are happy to announce the release of CKEditor 5 v19.1.0.
π This release further refines the table feature, brings a helper for convenient typing in tight places before or after widgets (such as images or tables) and brings a major change in our code infrastructure. Most notable enhancements are:
- Pasting a table into a selected table fragment — which marks the end of the Table selection stage III task.
- A new widget feature that allows typing before or after a widget when there is no space around it.
- Project migration to a monorepo architecture.
π But we did not stop there, as the release comes with several bug fixes, too:
- Entities handling in code blocks.
- Potential editor crash when removing a column.
- Editor crash when inserting a table row or column with another widget selected in the cell.
π¨ Read more in the blog post: https://ckeditor.com/blog/CKEditor-5-v19.1.1-with-table-enhancements-typing-around-widgets-and-print-to-PDF-feature/
Collaboration features
The CKEditor 5 collaboration features changelog can be found here: https://ckeditor.com/collaboration/changelog.
β MINOR BREAKING CHANGES βΉοΈ
- π¦ media-embed: The
MediaEmbedUI#form
property was removed from the API. - π¦ table: The
cropTable()
utility method was removed. Use thecropTableToDimensions()
method instead. - π¦ theme-lark: A new custom
--ck-color-focus-border-coordinates
CSS property was added and the existing--ck-color-focus-border
property now uses it internally. If your integration overrides the latter, we recommend you update the former to avoid compatibility issues with various editor UI features.
π Features
- π¦ paragraph: Implemented the
InsertParagraphCommand
registered as'insertParagraph'
in the editor. Closes #6823, #7229. (commit) - π¦ table: Introduced support for pasting tables into a selected table fragment. Closes #6120. (commit)
- π¦ table: Introduced table cell selection using keyboard. Closes #6115, #3203. (commit)
- π¦ theme-lark: Brought styles for the feature allowing users to type in tight spots around block widgets (see #407). (commit)
- π¦ widget: Brought the feature allowing users to type in tight spots around block widgets where web browsers do not allow the caret to be placed (see #407). Closes #6740, #6688, #6689, #6695. (commit)
π Bug fixes
- π¦ cloud-services: A
Token
instance will be destroyed by theCloudServices
context plugin. Closes #7248. (commit) - π¦ code-block: Fixed conversion of some entities (like
,&
) in a code block. Closes #5901. (commit) - π¦ media-embed: Made it possible to use the
mediaEmbed
button more than once (in more than one toolbar). Closes #6333. (commit) - π¦ media-mebed: The media widget conversion will no longer discard widget internals (drag or resize handlers, buttons to insert paragraphs, etc.) injected by other features when converting the URL (see #407). (commit)
- π¦ table: Setting the column as a header will now properly split column-spanned cells. Closes #6658. (commit)
- π¦ table: The table properties balloon should always be visible if a table is bigger than the visible viewport. Closes #6190. (commit)
- π¦ table: When the state is restored or the user enters a color value manually, the color input will now properly match the color label (if any is available). Closes #6791. (commit)
- π¦ table: The editor will not crash when removing columns next to row-spanned cells. Closes #6789. (commit)
- π¦ table: The table properties button should not be enabled if all the property commands are disabled. Closes #6679. (commit)
- π¦ table: Table heading rows should be properly updated after removing rows as a side effect of merging cells. Closes #6667. (commit)
- π¦ table: Empty table rows are properly handled during the conversion and layout post-fixing. Closes #3274. (commit)
- π¦ table: Shift+click will now use an anchor cell if there is any. Closes #6453. (commit)
- π¦ table: Fixed insert table row/column commands when a widget is selected inside a table cell. Closes #6607. (commit)
- π¦ table: Table keyboard navigation should not alter the native Shift+Arrow behavior inside a table cell. Closes #6641. (commit)
- π¦ table: Merging cells no longer wraps the text in a
<span>
element rather than paragraph in a certain scenario. Closes #6260. (commit) - π¦ widget: The widget toolbar should always be visible even if the widget is bigger than the visible viewport (see #6190). (commit)
Other changes
- π¦ mention: Renamed
MentionAttribute._uid
to aMentionAttribute.uid
as it needs to be used by integrators when implementing custom converters. Closes #6587. (commit) - π¦ table: Adding a new row in the table copies the structure of the selected row. Closes #6549. (commit)
- π¦ table: Display a human readable color value in the color input field. Closes #6241. (commit)
- π¦ table: Changed the insert row above/below buttons order in the table dropdown. Closes #6702. (commit)
π Released packages
β Check out the Versioning policy guide for more information.
π Released packages (summary)
π Minor releases (contain minor breaking changes):
- π¦ @ckeditor/ckeditor5-media-embed: v19.0.0 => v19.1.0
- π¦ @ckeditor/ckeditor5-table: v19.0.0 => v19.1.0
- π¦ @ckeditor/ckeditor5-theme-lark: v19.0.0 => v19.1.0
π Releases containing new features:
- π¦ @ckeditor/ckeditor5-engine: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-highlight: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-horizontal-line: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-image: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-paragraph: v19.0.0 => v19.1.0
- π¦ @ckeditor/ckeditor5-widget: v19.0.0 => v19.1.0
π Other releases:
- π¦ @ckeditor/ckeditor-cloud-services-core: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-adapter-ckfinder: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-alignment: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-autoformat: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-autosave: v19.0.0 => v19.0.1
- π @ckeditor/ckeditor5-basic-styles: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-block-quote: v19.0.0 => v19.0.1
- π @ckeditor/ckeditor5-build-balloon: v19.0.0 => v19.0.1
- π @ckeditor/ckeditor5-build-balloon-block: v19.0.0 => v19.0.1
- π @ckeditor/ckeditor5-build-classic: v19.0.0 => v19.0.1
- π @ckeditor/ckeditor5-build-decoupled-document: v19.0.0 => v19.0.1
- π @ckeditor/ckeditor5-build-inline: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-ckfinder: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-clipboard: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-cloud-services: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-code-block: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-core: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-easy-image: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-editor-balloon: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-editor-classic: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-editor-decoupled: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-editor-inline: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-enter: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-essentials: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-font: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-heading: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-indent: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-link: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-list: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-markdown-gfm: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-mention: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-page-break: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-paste-from-office: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-remove-format: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-restricted-editing: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-select-all: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-special-characters: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-typing: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-ui: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-undo: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-upload: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-utils: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-watchdog: v19.0.0 => v19.0.1
- π¦ @ckeditor/ckeditor5-word-count: v19.0.0 => v19.0.1
-
v19.0.0 Changes
April 29, 2020π We are happy to announce the release of CKEditor 5 v19.0.0.
π This release is focused on further improving the table selection plugin and includes the following enhancements:
- An option to select an entire row or column.
- Custom keyboard handling in tables, allowing for consistent and more convenient navigation using the keyboard.
- Improved removing rows or columns from complex tables.
- π Fixed a few cases where an editor could be crashed.
π We also introduced support for plural forms in our translation API, added the select all feature and created the
supportAllValues
option to preserve any font family or size value.π We also did several performance tweaks to improve CKEditor 5 data processing and rendering time.
π A few bugs have been fixed, most notably:
- Font retention when pasting from Microsoft Word.
- π Support for special characters in mention matching.
- Artifact characters produced when typing after an emoji with text transformation enabled.
Finally, this release comes with some important breaking changes. The most notable ones are:
- Make sure the latest version of the
Essentials
plugin or theSelectAll
plugin is installed in your integration. Either is required for proper keystroke handling in editor widgets. - π The format of stored editor translations changed. If you use
window.CKEDITOR_TRANSLATIONS
, see #334. - π The
translate()
function from thetranslation-service
was marked as protected. See #334. - The
getPositionedAncestor()
helper will no longer return the passed element when it is positioned. - The
ViewCollection
no longer has thelocale
property. - The
ViewCollection#constructor()
no longer accepts thelocale
parameter. - The
LabeledView
component was renamed toLabeledFieldView
. Also, its instance of a labeled component's view is available throughLabeledFieldView#fieldView
. It replacedLabeledView#view
. - π The
DropdownView#focusTracker
property was removed as it served no purpose. - π From now on, the
SpecialCharactersNavigationView
is an instance of theFormHeaderView
and unnecessarySpecialCharactersNavigationView#labelView
was removed. - π The
env.isEdge
property was removed. See ckeditor/ckeditor5#6202.
π¦ Check the list of packages below to learn more about these and other minor breaking changes.
π Read more in the blog post: https://ckeditor.com/blog/CKEditor-5-v19.0.0-with-table-enhancements-improved-performance-and-select-all-feature/.
Collaboration features
The CKEditor 5 Collaboration features changelog can be found here: https://ckeditor.com/collaboration/changelog.
Dependencies
π New packages:
π Major releases (contain major breaking changes):
- π @ckeditor/ckeditor5-special-characters: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-ui: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-utils: v18.0.0 => v19.0.0
π Major releases (contain minor breaking changes):
- π @ckeditor/ckeditor5-ui: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-utils: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-widget: v18.0.0 => v19.0.0
π Major releases (dependencies of those packages have breaking changes):
- π @ckeditor/ckeditor-cloud-services-core: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-adapter-ckfinder: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-alignment: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-autoformat: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-autosave: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-basic-styles: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-block-quote: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-build-balloon: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-build-balloon-block: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-build-classic: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-build-decoupled-document: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-build-inline: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-ckfinder: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-clipboard: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-cloud-services: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-code-block: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-core: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-easy-image: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-editor-balloon: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-editor-classic: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-editor-decoupled: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-editor-inline: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-engine: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-enter: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-essentials: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-font: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-heading: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-highlight: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-horizontal-line: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-image: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-indent: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-link: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-list: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-markdown-gfm: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-media-embed: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-mention: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-page-break: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-paragraph: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-paste-from-office: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-remove-format: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-restricted-editing: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-table: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-theme-lark: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-typing: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-undo: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-upload: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-watchdog: v18.0.0 => v19.0.0
- π @ckeditor/ckeditor5-word-count: v18.0.0 => v19.0.0