-
-
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
Migrate CKEditor 5 to TypeScript - follow-ups #12027
Comments
In ckeditor/ckeditor5#12027, CKSource collects feedback regarding TypeScript upgrade as shipped with CKEditor 37.x. Added some references to the issue and provided feedback to affected code.
Replace "export type" by "export" in index.tsWe are just at upgrading to CKEditor 37.x, thankfully being able to incorporate your TypeScript typings! We stumbled across some "export type", though, in We would require the following to be full exports instead:
We may provide details, why we need these. For Add to index.tsAnd the following, we would like to be exported in the corresponding
Same as above, we may provide details, why we require them, so that we may discuss alternative paths we could take. For Reference: Our UsagesWe added a comment to our upgrade PR to reference issues reported here: CoreMedia/ckeditor-plugins#145 (e.g., CoreMedia/ckeditor-plugins@55200cb). Similar to: // See ckeditor/ckeditor5#12027. So, you may see, for example, that we only require |
@mmichaelis we appreciate the feedback! We will review it here: #13864 |
Just created another issue in this context: |
Cant find a way to import ViewTreeWalker from engine. Having to use |
Also please add inferred types for event listeners. It's backwards now, type has to be provided and that validates the event name. Currently, i can not import types like |
Hi @Inviz , I've created a ticket to provide Regarding the events: You can import import { ViewDocumentCopyEvent } from '@ckeditor/ckeditor5-clipboard' We tried to provide automatic type inference for event listeners, like lib.dom.d.ts do. However, it turned out to be very difficult with the event system we have in |
There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue. |
We've closed your issue due to inactivity. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it). |
This issue serves as an umbrella for all the tasks that need to be done after migrating the project to TypeScript, including bug fixes, code refactoring, and feature enhancements.
Additionally, this issue is also a platform for the community to share their feedback and suggestions regarding the TypeScript migration.
Tasks
I
type parameter fromCollection
#12763Community Feedback
We encourage the community to share their feedback and suggestions regarding the TypeScript migration. If you encounter any bugs or issues related to the migration, please report them here. We value your feedback and will use it to improve the quality of the project. Thank you for your support and contribution.
The text was updated successfully, but these errors were encountered: