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:
^16.0.0
->^43.0.0
^16.0.0
->^43.0.0
Release Notes
ckeditor/ckeditor5 (@ckeditor/ckeditor5-build-classic)
v43.0.0
Compare Source
We are happy to announce the release of CKEditor 5 v43.0.0.
Release highlights
Merge fields
The new merge fields feature is a game-changer for creating document templates and other kinds of personalized or dynamic content. Thanks to this feature, you can insert placeholders into your content, indicating where actual values should go. These places are marked in the final content in a distinctive way, making it easy to later process the template and fill it with the actual values. The feature supports a preview mode too - you can define preview data sets, and see how the content will look like when real values are used directly in the editor. The plugin is highly customizable to fit various applications and scenarios. Finally, merge fields are fully integrated with our Export to Word, Export to PDF, and Import from Word features, both when they are used from the editor and via REST API.
We are extremely happy to share with you this highly demanded feature, and we cannot wait to listen to your feedback!
Make sure to visit our builder or documentation to learn more about the feature.
Export to Word V2 as the default version
The V2 version of the export to Word feature introduced significant improvements, optimizations, and fixes. This update enhances the overall performance, making the export process faster and more reliable, especially for large documents. Key improvements include better handling of table borders, automatic detection of Word styles from CSS, and support for more text-related CSS properties, ensuring your documents maintain their intended formatting.
Starting this version, the V2 configuration becomes the default in the
ExportWord
plugin. Make sure to migrate your configuration if you are using it.Improved sidebar accessibility and navigation
We have introduced multiple enhancements to make the sidebar more accessible. Among other improvements, you can now use the Shift+Ctrl+E keystroke to move focus from the editor marker to the active annotation. When your comment reply is ready, you can quickly submit it using the new Ctrl+Enter shortcut. Also, navigation from one annotation to another is now possible by using arrow keys.
The full lists of keyboard supported actions can be reviewed in our Accessibility support guide.
Important bug fixes and improvements
This release brings notable bug fixes and improvements to enhance your editing experience.
React and Vue integrations updates
We have released new major versions of the React and Vue integrations. In both of them, we have migrated to JavaScript modules (ESM) and rewritten large parts of the codebases to support the latest versions of these frameworks and to follow the latest recommendations for writing the components.
We strongly recommend that you follow the release highlights to update to the latest versions:
MAJOR BREAKING CHANGES ℹ️
ckeditor5
package in the UMD builds has been changed toCKEDITOR
.ckeditor5-premium-features
package in the UMD builds has been changed toCKEDITOR_PREMIUM_FEATURES
.exportWord.converterOptions
configuration should be adjusted to new API. See the migration guide.auto_pagination
configuration option inexportWord.converterOptions
is set tofalse
by default.MINOR BREAKING CHANGES ℹ️
CKBoxUtils#getWorkspaceId()
andCKBoxUtils#getToken()
methods now return a promise instead of a resolved value.AnnotationView#focus()
will focus the first view in thecontent
collection instead of the view DOM element.Sidebar#addAnnotation()
will expect the annotation view to meet theFocusableView
interface (previously any UIView
).Schema
callbacks added throughaddChildCheck()
will no longer add event listeners withhigh
priority and will no longer stopcheckChild
event. Instead, these callbacks are now handled onnormal
priority, as a part of the defaultcheckChild()
call. This also means that listeners added tocheckChild
event onhigh
priority will fire before any callbacks added bycheckChild()
. Earlier they would fire in registration order. This may impact you if you implemented custom schema callback using bothaddChildCheck()
and direct listener tocheckChild
event. All above is also true foraddAttributeCheck()
andcheckAttribute
event and callbacks.sanitizeHtml
was moved from thehtmlEmbed
space to top-level configuration space.config.htmlEmbed.sanitizeHtml
is now deprecated. It will still be used if it set, however we recommend updating the configuration as this property may be removed in upcoming releases.overflow: scroll
style (previously the style was permanent).--ck-list-button-padding
custom property has been removed from the codebase.SuggestionThreadView
template was moved to a new viewSuggestionView
. It may affect you if you provided customization for suggestions annotations through an extendedSuggestionThreadView
orBaseSuggestionThreadView
class. Please review updated API documentation forSuggestionThreadView#getTemplate()
andSuggestionView#getTemplate()
. You can extendSuggestionView
the same way asSuggestionThreadView
andBaseSuggestionThreadView
, and provide the extended class through the newly added configuration propertyTrackChangesConfig#SuggestionView
.Features
AriaDescriptionView
class that bringsaria-describedby
functionality to any view.LateFocusButtonView
andLateFocusDropdownButtonView
classes that are specific buttons, for whichfocus
event is fired aftermouseup
instead ofmousedown
. This delays all focus-related actions until the button action is performed.Schema#addChildCheck()
andSchema#addAttributeCheck()
can now register a callback for a specific item or attribute, which should improve performance when using custom callback checks. Callback checks should be added only for specific item or attribute if possible. See the API reference. Closes #15834. (commit)config.exportWord.converterOptions.language
configuration property to set the language of the exported Word document. The editor's content language will be used by default.Heading
plugin configuration. (commit)menuBar:specialCharacters
is now by default added in "Insert" menu. Closes #16501. (commit)FocusCycler#constructor()
to allow for fine-tuning of the class behavior. (commit)FocusCycler#chain()
method to connect multiple focus cyclers and provide seamless keyboard navigation across complex user interfaces. (commit)KeystrokeHandler#set()
to allow for fine-tuning of the helper's behavior. (commit)Bug fixes
Schema#checkChild()
will now correctly check custom callback checks for each item in the context. (commit)insertcontent-invalid-insertion-position
exception is no longer thrown after pasting content containingblock element
+non-paragraph
+block element
elements. Closes #16321. (commit)searchTerm
when usingfindCallback
infind
command. (commit)<ul>
or<ol>
should not be removed while loading editor data. Closes #16450. (commit)pageBreak
element.Esc
key press while navigating the menu bar. Closes #16683. (commit)/* #__PURE__ */
comments before mixin calls to properly tree-shake unused classes. Closes #16651. (commit)menucheckbox
aria roles. (commit)<label>
to<span>
in the color picker component to improve the accessibility. (commit)landmarks should be unique
. Closes #16544. (commit)Other changes
blockAutoformatEditing
and theinlineAutoformatEditing
are now exported from the package index. Closes #16815. (commit)ckeditor5
package in the UMD builds have been changed toCKEDITOR
. Closes #16798. (commit)ckeditor5-premium-features
package in the UMD builds have been changed toCKEDITOR_PREMIUM_FEATURES
.Schema#trimLast()
. (commit)Model#insertContent()
method should keep inline objects in the same auto paragraph as text nodes and other inline objects. See #16321. (commit)Schema#checkMerge()
method should returnfalse
if one of the elements is a limit element. See #16321. (commit)sanitizeHtml
was moved from thehtmlEmbed
space to top-level configuration space.config.htmlEmbed.sanitizeHtml
is now deprecated.SuggestionThreadView
template was moved to a new viewSuggestionView
.SuggestionView
was added to enable theSuggestionView
class customization.LabelWithHighlightView
andButtonLabelWithHighlightView
components to the UI library. (commit)filterGroupAndItemNames()
helper to the UI library. (commit)SearchTextView#reset()
method will also reset the scroll of itsfilteredView
to the top. (commit)Released packages
Check out the Versioning policy guide for more information.
Released packages (summary)
New packages:
Major releases (contain major breaking changes):
Minor releases (contain minor breaking changes):
Other releases:
v42.0.2
Compare Source
We are happy to announce the release of CKEditor 5 v42.0.2.
Release highlights
This is a patch release that includes the following bug fixes for new installation methods introduced in v42.0.0:
ckeditor5-editor.css
,ckeditor5-content.css
, and other optimized style sheets (see #16703).Additionally, we fixed some performance issues in the track changes plugin. The editing experience was heavily affected if there were many (hundreds or more) suggestions in the document. This was a regression introduced in v41.0.0.
Bug fixes
package.json
. See #16684. (commit)exports
field inpackage.json
to fix issues with loading CSS and translations in older bundlers. See #16638. (commit)package.json
.exports
field inpackage.json
to fix issues with loading CSS and translations in older bundlers.dist
folder as productiondependencies
instead ofdevDependencies
. Related to #16646. (commit)Other changes
Released packages
Check out the Versioning policy guide for more information.
Released packages (summary)
Other releases:
Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.