Closed irelevant25 closed 1 year ago
AFAICS you use CKEditor 5 in version 35.4.0. Thus, you use the community-driven typings.
We're currently concluding the migration of the project to TypeScript (see #11704)) and will ship our official typings really soon (next week maybe). There also alpha releases of CKEditor 5 available already if you want to test it and a patched version of Angular integration (see https://github.com/ckeditor/ckeditor5-angular/pull/358/files)..)
In general, if you can wait a week, it'll all most likely be shipped as official stable releases.
Angular version:
Typescirpt version:
Ckeditor version:
I have my own angular library (strict: true) where I installed ckeditor by following:
I imported it in library.module.ts:
Then in my component I used it like this:
I also created typings.d.ts in the typings folder in the root of the project:
Included *.d.ts files in tsconfig.spec.json of the library:
After I run ng serve I get this error:
If I place my typings.d.ts file to the library-test/src, then ng serve works but ng build still not. Which I am little confuse about that.
When I tried to follow the instructions above:
I get this error:
My tsconfig.json file:
Project structure (I have a projects as a library as you can seen on the picture. "library" is my library with all components and library stuff. "library-test" is my project for testing the library.):