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
+
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) | +|||
^5 |
+ 13+ |
+ Requires Angular at least in version 13+. Lower versions are no longer maintained. | |
^4 |
@@ -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
);
}