-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
The output properties of angular component do not accept editor types from predefined builds #13838
Comments
Couldn't the implementation be simplified? We must ensure that the passed object contains the
|
If that would solve the issue, then it's even better. I was rather thinking about changing the component declaration to
and all (or almost all because |
Just discovered that we can also set |
I created a PR in |
This isn't a viable solution for some people. Changing the tsconfig of one's project to loosen the checks might not be accepted by its maintainers as it affects the entire project. So, in my opinion this should be reverted: d862032 And this is the correct workaround for now: 633eb37 |
Yeah, changing the config works. But I didn't advise it because of the mentioned reasons. |
Other: Add the generic type for `Editor` in `CKEditorComponent` to allow making the typed event handlers. Closes ckeditor/ckeditor5#13838.
Reproduction step:
Current result:
Compiler throws an error:
Expected result:
The app compiles correctly and the component accepts editor types coming from predefined builds. Alternatively: there is another way to make it work without installing additional dependencies.
The text was updated successfully, but these errors were encountered: