-
Notifications
You must be signed in to change notification settings - Fork 100
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
how can i use ckeditor5 with typescript in react? #253
Comments
Hi, @abhig02. What actually do you need? |
Closing because of lack of activity and missing problem description. |
Looking for a declaration file for the npm module '@ckeditor/ckeditor5-react'. |
Hi, @intelliapps-io! We don't provide any TS declaration files for our packages yet. Maybe it will change in the future, you can subscribe to the ckeditor/ckeditor5#504 if you want to track this topic. |
Hello.
make sure install base ckeditor types. |
Hello @ma2ciek! I am looking for the types too and in my case for the balloon editor. This is blocking our further development with CKEditor. I see that this issue was recently reopened and triaged. When can we expect the types to be released? |
@arasrezaei Do you know if |
|
This is still a requested and important feature for anyone wanting to use this package in a typescript project. Is there any update on the implementation of typescript type declarations for this package? In a post above, a user arasrezaei has already kindly provided most of, if not all of the information required for you to add a type declaration file. The fact that this would be so simple to add boggles the mind that it's been a requested feature for so long and not implemented. Are you open to pull requests to add a type declaration file, because if so, this could expedite the process greatly. Thanks for your time :) |
@nyatalieee As noted in the linked thread above, CKEditor5 is being migrated to TypeScript: ckeditor/ckeditor5#11704 |
JSX element type 'CKEditor' has no construction or call signatures. i get this error |
Starting from version 6.0.0 (https://github.com/ckeditor/ckeditor5-react/releases/tag/v6.0.0), the CKEditor React component is migrated to TypeScript. The component publishes its declarations, so a TS compiler should not complain anymore. |
was still getting this error after upgrading to v6 -- can this issue be re-opened? |
@frimmy could you be a little bit more specific about which error you have in mind? |
the same error reported by @andrelcb - |
As CKEditor ships the typings you shouldn't do: |
🆕 Feature request
💻 Version of CKEditor
CKEditor5
The text was updated successfully, but these errors were encountered: