[frontend] Update dependency ckeditor5 to v45 (release/current) #2937
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
44.3.0
->45.0.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
ckeditor/ckeditor5 (ckeditor5)
v45.0.0
Compare Source
The CKEditor 5 v45.0.0 release brings powerful new features and improvements, making content creation smoother and more versatile. From enhanced email editing to a refined linking experience and a brand-new full-screen mode, this update is packed with valuable upgrades.
Release highlights
Email editing enhancements
We are making it easier to create and edit emails directly in CKEditor 5 with several enhancements. This release introduces the following new features:
Apart from these new features, this update also brings various fixes and improvements related to table behavior, enhanced HTML support, and better handling of complex email structures. These refinements help ensure a more seamless email editing experience, reducing inconsistencies and improving compatibility with external email clients.
The fullscreen feature
A long-requested feature has finally arrived with the introduction of full-screen editing for the classic and decoupled editor types. This new mode provides a focused writing experience by making the editor the centerpiece of the screen. The expanded screen space allows for better visibility of content in sidebars such as comments, suggestions, and document outlines, enhancing your overall workflow.
Improved linking experience
Linking in CKEditor 5 has been significantly upgraded with a redesigned user interface, making adding and editing links more intuitive. Users can now easily link to bookmarks within the document and select links from predefined lists (defined by the developer). These improvements make inserting and managing links faster and more flexible than ever before.
During this initiative, we also aligned visual and technical components of the editor. Each balloon got a header with the tile, we also unified the toolbar behavior and keystrokes of Link and Bookmarks with other widget’s toolbars like image and tables.
New installation methods improvements: icons replacement
We are continuing to strengthen the new installation methods while phasing out older solutions. We added one of the key components you asked for: replacing our icons with your custom ones. It is now possible to replace the icons via the package’s override mechanism.
We are progressing with deprecation according to our sunset plan. From this release, predefined builds’ packages, such as
@ckeditor/ckeditor-build-classic
, are now officially deprecated.We also dropped support for Webpack 4 in both the old and new installation methods. All packages and CDN from this version are now distributed with ES2022 as the target ECMAScript version, providing better compatibility with modern JavaScript features and improved performance.
By the end of 2025, custom builds that rely on webpack and DLL builds will also be deprecated. Refer to our documentation and migration guides to ensure a smooth transition.
We are committed to making CKEditor 5 even better. Stay tuned for more improvements in upcoming releases! If you have any feedback, let us know — we are always listening.
Please refer to the update guide to learn more about these changes.
Happy editing!
MAJOR BREAKING CHANGES ℹ️
BookmarkUI#actionsView
is no longer available. The bookmark feature is now using theWidgetToolbarRepository
instead.LinkUI#actionsView
is no longer available. The bookmark feature now uses theLinkUI#toolbarView
(an instance of theToolbarView
class) instead of the customLinkActionsView
.MINOR BREAKING CHANGES ℹ️
createBookmarkCallbacks()
helper is now replaced by theisScrollableToTarget()
andscrollToTarget()
helpers.FormRowView
class was moved to the@ckeditor/ckeditor5-ui
package.form.css
component was moved to the@ckeditor/ckeditor5-theme-lark
package.@ckeditor/ckeditor5-icons
package.DISTRIBUTION CHANGES
Features
[class]
) and IDs ([id]
) are inlined within elements, improving compatibility with email clients that strip external styles. It helps maintain consistent formatting across different email clients, reducing rendering issues.<style>
elements from the<head>
section of editor data content using theFullPage
plugin. See #13482. (commit)RevisionHistory#isRevisionViewerOpen
that indicates whether the revision history is opened or not.config.sourceEditingEnhanced.theme
by passing the'dark'
value. This change enables the use of the dark theme with the CDN installation method, which does not support externalCodeMirror
dependencies. Additionally, if you previously used theoneDark
extension directly, you can now switch totheme: 'dark'
for built-in support.role="presentation"
parameter for accessibility. Users can insert layout tables via the editor toolbar and switch between content and layout tables. The editing view now closely matches the rendered output. Closes #18132. (commit)<th>
elements may be lost, table structure remains intact. Closes #18131. (commit)form.css
component . (commit)MenuBarView#disable()
andMenuBarView#enable()
methods. They disable/enable all top-level menus in menu bar. Closes #17940. (commit)ToolbarView#switchBehavior()
method to switch toolbar behavior after the editor has been initialized. Closes #18159. (commit)FormRowView
class. (commit)@ckeditor/ckeditor5-icons
package. Related to #16546. (commit)@ckeditor/ckeditor5-icons
package to the core DLL package. (commit)Bug fixes
converterPriority
type definition toHeadingOption
interface. Closes #18182. (commit)Autolink
feature will now correctly autolinkhttp://localhost
andhttp://localhost:port
. Closes #18185. (commit)<script>
and<style>
tags enabled by the General HTML Support feature. Before, when revision was saved, these elements were saved empty, and this lead to data loss when such revision was restored. Note, that this will not fix revisions that are already affected by this error.UIElement
s andRawElement
s by revision history (may concern third-party custom plugins).[role="textbox"]
from the<td>/
` editables. Windows Narrator no longer reads table dimensions as 0 by 0. Closes #16923. (commit)ShiftEnter
plugin is removed.ButtonView#icon
property can now be set/reset after the button's first render. (commit)Other changes
WidgetToolbarRepository
instead of a customActionsView
to display the bookmark toolbar in the contextual balloon. The new toolbar uses components registered in theComponentFactory
. (commit)ck-form
andck-form__row
. (commit)DomConverter#domDocument
property. Closes #18146. (commit)ck-form
andck-form__row
. (commit)ToolbarView
instead of a customLinkActionsView
to display the link toolbar in the contextual balloon. The new toolbar uses components registered in theComponentFactory
. (commit)ck-form
andck-form__row
. (commit)form.css
to@ckeditor/ckeditor5-theme-lark
package. (commit)FormRowView
to@ckeditor/ckeditor5-ui
package. (commit)IconView
now throws a meaningful error if the provided icon content is not a valid SVG. (commit)WidgetToolbarRepository#register()
now accepts a customized list of desired balloon positions. (commit)Belarusian
language translations for CKEditor 5. Huge thanks to @karavanjo. (commit)target
toes2022
. Closes #17886. (commit)lodash-es
withes-toolkit
. See #16395. (commit)@ckeditor/ckeditor5-build-*
packages are no longer maintained. (commit)Released packages
Check out the Versioning policy guide for more information.
Released packages (summary)
New packages:
Major releases (contain major breaking changes):
Releases containing new features:
Other releases:
Configuration
📅 Schedule: Branch creation - "after 10pm every weekday,every weekend,before 5am every weekday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.