Releases: ckeditor/ckeditor5-angular
Release list
v11.2.0
Features
-
It is now possible to customize the editable element tag name, classes, styles, and attributes via
config.root.elementorconfig.roots.main.element. The value can be a plain string (tag name) or an object:import { BalloonEditor } from 'ckeditor5'; // In your component: public BalloonEditor = BalloonEditor; public config = { root: { element: { name: 'article', classes: [ 'my-editor', 'custom-class' ], styles: { color: 'red' }, attributes: { role: 'textbox' } } } };
<ckeditor [editor]="BalloonEditor" [config]="config"></ckeditor>
To configure the root as a paragraph-like (inline-content only) editor, also pass
modelElement: '$inlineRoot':public config = { root: { element: 'h1', modelElement: '$inlineRoot', initialData: 'Document title', placeholder: 'Enter title...' } };
For editors that use the Angular-rendered element as their editable (such as
InlineEditororBalloonEditor), the editable falls back to thetagNameinput (divby default) when no element definition is provided in the config. ForClassicEditor, which creates its own editable internally,config.root.element(orconfig.roots.main.element) should always be provided explicitly.The
tagNameinput has been deprecated in favor of this new configuration.
Other changes
- Readme simplification.
v11.1.2
Bug fixes
- Fixed an issue where the editor's alpha version was being compared incorrectly.
v11.1.1
Other changes
- Improved compatibility with the latest CKEditor 48.x. Closes #550.
v11.1.0
Features
- Added support for CKEditor 5
48.0.0and the newrootseditor configuration. Closes #547.
v11.0.1
Other changes
- Accept internal CKEditor 5 releases in
peerDependencies. Closes #530.
v11.0.0
BREAKING CHANGES
- Dropped support for Angular v18. The minimum supported Angular version is now v19. Closes #514.
v10.1.0
Features
- Introduce the
disableWatchdoginput to theCKEditorComponentthat allows disabling the watchdog functionality even when a watchdog instance is provided via thewatchdoginput. Closes #469.
Bug fixes
- Remove
itemErrorevent listener from the watchdog when theCKEditorComponentis destroyed. This prevents potential memory leaks when the component is removed from the DOM.
Other changes
- Upgrade to Node v24.11.
v10.0.0
BREAKING CHANGES
- Aligned the component with the latest CKEditor 5 release (
v46.0.0), adopting the type import names. Starting from this version, previous CKEditor 5 releases are no longer compatible due to breaking changes in definitions and package structure. See ckeditor/ckeditor5#18583
v10.0.0-alpha.0
BREAKING CHANGES
- Aligned the component with the latest CKEditor 5 release (
v46.0.0), adopting the type import names. Starting from this version, previous CKEditor 5 releases are no longer compatible due to breaking changes in definitions and package structure. See ckeditor/ckeditor5#18583
v9.1.0
Features
- Align integration to work with the future self-service plan. Read more in the CKEditor 5 repository. (commit)
- Print editor errors in console if there is no (error) observer. (commit)