Update dependency @ckeditor/ckeditor5-theme-lark to v40 #7
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:
^34.2.0
->^40.0.0
Release Notes
ckeditor/ckeditor5 (@ckeditor/ckeditor5-theme-lark)
v40.2.0
Compare Source
We are happy to announce the release of CKEditor 5 v40.2.0.
Release highlights
AI Assistant: AWS and custom integrations
Enabling multiple AI model service was one of our priorities for the AI Assistant, as we wanted everyone to be able to use a platform that they find the most convenient.
We are happy to inform that as of this release, you can use the AI Assistant together with the AWS Bedrock service.
What is more, you can now extend existing adapters to enable more advanced customizations, such as decorating the AI Assistant requests.
Finally, you can even provide your own custom adapter to connect to your own model, or any model that does not have an official adapter yet.
Visit our new integration guide to learn more about integrating and customizing the AI Assistant feature.
Note that these improvements come with minor breaking changes in the editor configuration, so make sure to visit the breaking changes section and the update guide.
Image editing
CKBox’s image editing capabilities, introduced in CKBox v1.6.0, are now accessible straight from the CKEditor image toolbar. CKBox users can resize, crop or rotate images right within CKEditor.
Additionally, you can also edit images which are not yet added to CKBox (for example hotlinked images). CKBox will automatically download the images in the background, to allow users to edit them without having to leave CKEditor to manually add the image into CKBox. This dual functionality, combined with server-side processing, ensures ease of use and maintains high image quality and file integrity, providing a more efficient and reliable image editing experience within CKEditor.
Please refer to the update guide to learn more about these changes.
(Experimental) Paste Markdown
This release introduces the new Paste Markdown feature. It will automatically format any raw Markdown source or output copied and pasted directly into the editor – without having to switch to source editing. This feature is in its experimental phase, and its behavior may change in the future. Experience this functionality firsthand by pasting Markdown content into the demo editor. We welcome your feedback and observations for ongoing improvements, so please share them in the GitHub issue.
(Coming soon!) New installation methods
We are excited to announce upcoming improvements to CKEditor 5's installation process, set to release next year. Our goal is to address and resolve the accumulated pain points that you experienced over the years. For a detailed overview of our plans and the background behind them, dive into our comprehensive proposal in the RFC. Your feedback is crucial in refining and perfecting these improvements, and we eagerly await your input!
Other notable improvements
insertImage
component now supports file managers, and automatically detects if you are using CKBox. We also changed the default icon for upload image from computer to better indicate it’s an upload action, not a generic image button.MINOR BREAKING CHANGES ℹ️
OpenAIAdapter
,AWSAdapter
, or a custom adapter) must be now explicitly added to the plugin list. See the update guide for details.ImageInsertUI
plugin internals were cleaned up, as it worked a bit magically with hard-coded dependencies. For example, it automatically enabled the behavior of inserting image via URL. As of now, it will not enable any external behaviors. See the update guide for details.CollapsibleView
has been moved from the@ckeditor/ckeditor5-list
package to@ckeditor/ckeditor5-ui
. You can import it like this:import { CollapsibleView } from '@​ckeditor/ckeditor5-ui';
Features
ai: Introduced AWS Bedrock support for AI Assistant. See AI Assistant integration guide to learn more.
ckbox: Enabled editing of non-CKBox images in the editor. (commit)
ckbox: Integrated the CKBox Image Editing feature into the editor. (commit)
image: Introduced the image insert dropdown as a consistent UI to insert images through different available integrations such as image upload, insert an image with the asset manager, and insert an image via URL. Closes #15303, #15149. (commit)
link: Links can now be applied by pasting a URL on a selected text. Closes #5656. (commit)
markdown-gfm: Added an experimental support for pasting markdown-formatted content. Closes #2321. (commit)
media-embed: Added support for short Dailymotion URLs (
dai.ly
) in media-embed. (commit)Thanks to @Kocal!
Bug fixes
DocumentSelection
should not store the GHSlinkA
attribute if thelinkHref
attribute was removed by the two-step caret movement feature. Closes #15051. (commit)<template>
element in the content. Closes #14933. (commit)Other changes
gpt-3.5-turbo-1106
model in AI Assistant.AITextAdapter
abstract class that can be extended to provide custom adapter for AI Assistant.OpenAIAdapter
andAWSAdapter
that can be extended to customize how AI Assistant requests and responses are handled.requestHeaders
configuration parameter. See API docs and migration guide.ImageUploadUI
plugin is loaded by default when theImageBlock
orImageInline
plugins are loaded. See #15149. (commit)CollapsibleView
class has been moved from the@ckeditor/ckeditor5-list
package to@ckeditor/ckeditor5-ui
. See #15149. (commit)insertText
command for cases using theDocumentSelection
andSelection
as applied attributes behaved differently in those cases. (commit)CollapsibleView
class has been moved from the@ckeditor/ckeditor5-list
package to@ckeditor/ckeditor5-ui
. See #15149. (commit)SplitButtonView
constructor andcreateDropdown()
helper accepts an instance of aButtonView
as an action view customization. See #15149. (commit)FileDialogButtonView
class is now an instance of theButtonView
, not just a wrapper on it. See #15149. (commit)undo
andredo
toolbar components described in the@ckeditor/ckeditor5-essentials/src/ckeditor5-metadata.json
file are now defined in the package that registers those buttons (@ckeditor/ckeditor5-undo
). Closes #15414. (commit)Released packages
Check out the Versioning policy guide for more information.
Released packages (summary)
Major releases (contain major breaking changes):
Minor releases (contain minor breaking changes):
Releases containing new features:
Other releases:
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:
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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.