Use node version 18
Go to folder ckeditor5 (testCkeditor/ckeditor5)
cd ckeditor5
Install dependencies
npm install
Build ckeditor
npm run build
Inside root of project (testCkeditor)
Install dependencies
npm install
Start angular app
npm run start
ckeditor5 is used inside home component src/app/components/home
If I don't use // @ts-ignore
above this.CKEditorComponent.editorInstance.plugins.get('SourceEditing').updateEditorData();
I got error: error TS2339: Property 'updateEditorData' does not exist on type 'PluginInterface'.
When you are in SourceEditing mode, ngModel should be updated with click on button UPDATE SOURCE
, but it isn't (Browser freeze)