We are happy to announce the release of CKEditor 5 v41.1.0.
MINOR BREAKING CHANGES ℹ️
- engine: We fixed how the missing
valueof the"class"and"style"attribute conversion is handled in theattributeToAttribute()upcast helper. Now while not providing the attribute'svalueto conversion the helper accepts and consumes all values. Previously those values were not consumed and left for other converters to convert. Note that you should use theclasses, and thestylesfields for the fine-tuned conversion of those attributes instead of a catch-all"style"and"class"specified in thekeyfield. - font: The
colorSelectorViewproperty will no longer be accessible from theColorUIplugin in the@ckeditor/ckeditor5-font/src/ui/colorui.ts. - source-editing: The source editing feature will now throw an error when used with real-time collaboration as these features are not fully compatible and may lead to data loss. You will have to explicitly enable source editing for real-time collaboration by setting the
sourceEditing.allowCollaborationFeaturesconfiguration flag totrue. If you want to use both these features, please read a new guide discussing the risks and add the flag to your configuration.
Features
- collaboration-core: The local user ("me" user) avatar will now have a distinct highlight (additional border) so it is easier to spot among other avatars. The related DOM element will receive the
.ck-user_meCSS class to customize or remove the highlight. - real-time-collaboration: Introduced the
presenceList.displayMeconfiguration flag. When set tofalse, the local user ("me" user) will not be displayed in the presence list. Defaults totrue.
Bug fixes
- engine: The
styleandclassattributes conversion should work withattributeToAttribute(). Closes #4517. (commit) - font: The font color and font background features should work in both the main toolbar and the balloon toolbar. Closes #15580. (commit)
- link: An image should not disappear after dragging in Windows OS in Chromium browsers. #15700. (commit)
Other changes
- real-time-collaboration: Modified the order of users in the presence list, so that local user ("me" user) is always visible first.
- source-editing: Source editing will now throw an error when used with real-time collaboration. Added the
sourceEditing.allowCollaborationFeaturesconfiguration flag that suppresses the error and allows to use both features together. Closes #15764. (commit) - Updated translations. (commit)
Released packages
Check out the Versioning policy guide for more information.
Minor releases (contain minor breaking changes):
Other releases:
Released packages (summary)