Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type 'typeof ClassicEditor' is not assignable to type '{ create(sourceElementOrData: string | HTMLElement, config?: EditorConfig | undefined): Promise<Editor>; }'. #396

Open
richard-ncs opened this issue Nov 6, 2023 · 2 comments
Labels
resolution:duplicate This issue is a duplicate of another issue and was merged into it.

Comments

@richard-ncs
Copy link

I'm trying to get a minimal version of the classic build running in Angular v16 with CKEditor v40 and ckeditor-angular v7. My StackBlitz is https://stackblitz.com/edit/stackblitz-starters-ymdlvz .

I've followed the Angular documentation at https://ckeditor.com/ckeditor-5/angular/ but keep getting an error Type 'typeof ClassicEditor' is not assignable to type '{ create(sourceElementOrData: string | HTMLElement, config?: EditorConfig | undefined): Promise<Editor>; }'.

I've also double-checked https://ckeditor.com/docs/ckeditor5/latest/installation/integrations/angular.html and the documentation there seems to say the same thing.

Am I missing something?

@richard-ncs
Copy link
Author

I've tried downgrading versions of ckeditor and ckeditor-angular to the ones shown in the example Stackblitz in the documentation but then I get a different typing error which I cannot resolve.

@Witoso
Copy link
Member

Witoso commented Nov 7, 2023

Duplicate: #364

@Witoso Witoso added the resolution:duplicate This issue is a duplicate of another issue and was merged into it. label Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolution:duplicate This issue is a duplicate of another issue and was merged into it.
Projects
None yet
Development

No branches or pull requests

2 participants