diff --git a/docs/installation/frameworks/angular.md b/docs/installation/frameworks/angular.md index 1fa5840c59b..0c45340efbb 100644 --- a/docs/installation/frameworks/angular.md +++ b/docs/installation/frameworks/angular.md @@ -24,6 +24,10 @@ Currently, the CKEditor 5 component for Angular supports integrating CKEditor 5 ## Supported Angular versions + + There is a [known issue](https://github.com/ckeditor/ckeditor5/issues/13838) related to using types from predefined builds in event handlers. + + Because of the breaking changes in the Angular library output format, the `@ckeditor/ckeditor5-angular` package is released in the following versions to support various Angular ecosystems: @@ -38,13 +42,18 @@ Because of the breaking changes in the Angular library output format, the `@cked - - + + - + + + + + + @@ -165,12 +174,13 @@ export class AppComponent { title = 'angular'; public Editor = DecoupledEditor; - public onReady( editor: DecoupledEditor ): void { - const element = editor.ui.getEditableElement()!; + public onReady( editor: any ): void { //using `any` is temporary workaround for https://github.com/ckeditor/ckeditor5/issues/13838 + const decoupledEditor = editor as DecoupledEditor; + const element = decoupledEditor.ui.getEditableElement()!; const parent = element.parentElement!; parent.insertBefore( - editor.ui.view.toolbar.element!, + decoupledEditor.ui.view.toolbar.element!, element ); }
Actively supported versions
^5
^6 13+Requires Angular at least in version 13+. Lower versions are no longer maintained.Requires CKEditor 5 at least in version 37.
Past releases (no longer maintained)
^513+Requires Angular at least in version 13+. Lower versions are no longer maintained.
^4