ckeditor / ckeditor5-vue

Official CKEditor 5 Vue.js component.
https://ckeditor.com/ckeditor-5
Other
352 stars 77 forks source link

Make use of the `generic` attribute to provide better typing #282

Closed filipsobol closed 2 months ago

filipsobol commented 3 months ago

We should consider using the generic attribute introduced in Vue 3.3 to provide better typings for component events.

Currently, the type of editor passed to the editor prop is ignored and all events (@ready, @focus, @blur, @input) use the generic Editor type, which is inaccurate.