chore(deps): update ckeditor monorepo (develop) (major) #1272
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:
39.0.2
->40.1.0
39.0.2
->40.1.0
39.0.2
->40.1.0
39.0.2
->40.1.0
38.4.0
->39.2.1
38.4.0
->39.2.1
39.0.2
->40.1.0
39.0.2
->40.1.0
39.0.2
->40.1.0
39.0.2
->40.1.0
39.0.2
->40.1.0
39.0.2
->40.1.0
39.0.2
->40.1.0
39.0.2
->40.1.0
39.0.2
->40.1.0
39.0.2
->40.1.0
39.0.2
->40.1.0
39.0.2
->40.1.0
39.0.2
->40.1.0
Release Notes
ckeditor/ckeditor5 (@ckeditor/ckeditor5-alignment)
v40.1.0
Compare Source
We are happy to announce the release of CKEditor 5 v40.1.0.
Release highlights
Styling suggestions reflected in the content
This release introduces an important user experience improvement for the track changes feature. From now on, styling changes made in the track changes mode will be also reflected in the editor content, instead of just being marked with a blue suggestion highlight.
Below is a summary of the important changes related to this improvement:
'attribute'
was introduced. All integrated features will now create'attribute'
suggestions.SuggestionData#attributes
property, as it is used by the new suggestions.We will continue further work on this improvement, including integrating the new solution with the list feature.
Azure OpenAI service support
We have introduced necessary changes to make sure that the AI Assistant can be used with the Azure OpenAI service. Please refer to the AI Assistant documentation for details.
Other notable improvements
tokenUrl
configuration for more seamless integration.MINOR BREAKING CHANGES ℹ️
config.aiAssistant.uiCssClass
configuration has been replaced byconfig.aiAssistant.useTheme
and changed its function. A new complementary.ck-ai-assistant-ui_theme
CSS class has also been introduced to the AI Assistant's UI elements. Please refer to the API documentation and the UI customization guide to learn more.MultiRootEditor#registerRootAttribute()
method to register a custom root attribute.image.insert.type
to'auto'
.config.importWord.formatting
configuration property which is an object accepting the following properties:resets
,defaults
,styles
, andcomments
. The old properties:config.importWord.defaultStyles
andconfig.importWord.commentsStyles
were removed. Useformatting.defaults
andformatting.comments
instead.Features
order
property. See theAIAssistantConfig
API documentation for details.config.aiAssistant.requestParameters.stream
to configure whether the AI Assistant should use streaming or not.MultiRootEditor#registerRootAttribute()
. All roots attributes used by features should now be registered. Roots attributes passed in editor configuration are now automatically registered. Closes #15246. (commit)config.importWord.formatting
configuration property in place ofconfig.importWord.defaultStyles
andconfig.importWord.commentsStyles
.'attribute'
which indicates that an attribute on a model node has changed and allows to show the change immediately in the content.AriaLiveAnnouncer
class that allows for using aria-live regions to inform screen readers about changes in editor state.AriaLiveAnnouncer
instance is available underEditorUI#ariaLiveAnnouncer
. (commit)Bug fixes
Esc
key.ToolbarConfig
by adding an optionalicon
parameter. Closes #15151. (commit)AutocompleteView
should not capture theEsc
key press event if its result pane is hidden. (commit)TextareaView
will no longer update its height (and log warnings) when the element is detached from DOM. (commit)aria-checked
attribute in dropdowns. Closes #14823. (commit)Config#get()
method should be able to return a function. Closes #14804, #12835. (commit)config.removePlugins
should be now properly filtered out when revision history and track changes data plugins are used.Other changes
Replace
button should be labeledInsert
if the selection is collapsed.lark
. Closes #15096. (commit)PluginInterface.destroy()
method optional. (commit)image.insert.type
configuration to"block"
and added the"auto"
option. Closes #15158. (commit)FormHeaderView
,ButtonView
, andListItemView
). (commit)'attribute'
suggestions: alignment, basic styles, font, format painter, heading, highlight, html embed, image (except for image styles), indent block, link, remove format, styles, table headings.ListItemGroupView
should allow using a custom label. (commit)FormHeaderView
,ButtonView
, andListItemView
). (commit)Released packages
Check out the Versioning policy guide for more information.
Released packages (summary)
Minor releases (contain minor breaking changes):
Releases containing new features:
Other releases:
v40.0.0
Compare Source
We are happy to announce the release of CKEditor 5 v40.0.0.
Release highlights
AI Assistant
We are tremendously excited to share our AI Assistant plugin with you!
With the AI Assistant, you can boost your editing effectiveness and creativity in a completely new way. This feature gives writers and editors the power to seamlessly interact with artificial intelligence. Users can generate, expand, rewrite, improve, translate, and process the content in many different ways.
The AI Assistant can be used in two ways. You can quickly re-work selected content by choosing one of the predefined AI commands. Or, you can write your own query to generate or process the content in any way you like!
Make sure to visit the documentation and try the demo!
Introduction of the image height and width support
No more layout shifts! We have introduced setting of the image
width
andheight
attributes automatically during the upload/paste process to ensure the highest-quality content with no text jumping all around. While existing images won't be automatically retroactively altered, any changes to images in the editor (like resizing) will automatically set these attributes.We've also ensured backward compatibility with CKEditor 4, particularly while maintaining user-changed aspect ratios. More details on the changes can be found in the update guide.
Drag and drop of blocks
Just drag it!™ We have introduced a more intuitive drag-and-drop functionality for blocks and widgets. This makes content rearrangement and editing faster and easier, offering users better control over their content. Dragging by the balloon block toolbar handle is also possible, and we've updated its default icon to reflect this new drag-and-drop capability better (but it's still changeable).
Document lists feature parity
Document lists — our second-generation list plugin that supports multiple content blocks in list items — have finally landed the support for to-do lists! We also added the configuration that enforces the document list to have only a single block inside the list item (we call it “simple lists”). All this is to start deprecating the Lists v1 implementation and use the document lists as default. Coming soon!
Contextual balloon fixes
Last but not least, we prepared significant fixes to the way the contextual balloons work. They had the tendency to overflow on other elements, especially in the fixed height editors. We polished their internals, and problems should exist no more!
Please refer to the update guide to learn more about these changes.
MAJOR BREAKING CHANGES ℹ️
resizedWidth
. Thewidth
andheight
attributes are now used to preserve the image's natural width and height.srcset
model attribute has been simplified. It is no longer an object{ data: "...", width: "..." }
, but a value previously stored in thedata
part.MINOR BREAKING CHANGES ℹ️
Comment#archivedAt
is now the property to check when deciding whether the comment thread is inside the comments archive or not (that property was#resolvedAt
before).CommentsArchive#resolvedThreads
has been renamed to#archivedThreads
. If your custom code used that property, make sure to apply this change.deletedAt
property is no longer passed inAddCommentThreadEvent
as it is not needed anymore. Instead, deleted comment threads should never be handled inaddCommentThread
as they should never be added to the repository. If your custom code used that property, make sure to apply this change.CommentsRepository
after re-initializing the editor. Before, the comment thread was removed fromCommentsRepository
but was added back when the editor re-connected to Cloud Services. If your custom code expected the old (incorrect) behavior, it might need a change. This change was reflected in the comments outside editor documentation page.Features
width
andheight
attributes are now preserved while loading editor content. Closes #14146. (commit)list.multiBlock
configuration option. Closes #14634. (commit)ListItemGroupView
,TextareaView
,SpinnerView
,SearchView
andAutocompleteView
. (commit)HighlightedTextView
component for better search results presentation. (commit)Bug fixes
CommentsRepository
and, in case of real-time collaboration, they will not be added back after re-connecting to the document.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.