11.2.0 (June 8, 2026)
-
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.
- Readme simplification.
11.1.2 (April 15, 2026)
- Fixed an issue where the editor's alpha version was being compared incorrectly.
11.1.1 (April 13, 2026)
- Improved compatibility with the latest CKEditor 48.x. Closes #550.
11.1.0 (March 24, 2026)
- Added support for CKEditor 5
48.0.0and the newrootseditor configuration. Closes #547.
11.0.1 (March 2, 2026)
- Accept internal CKEditor 5 releases in
peerDependencies. Closes #530.
To see all releases, visit the release page.