element-tiptap
element-tiptap copied to clipboard
Add the typings for the project
Is your feature request related to a problem? Please describe.
Due to the lack of typing, it is kinda headache for typescript developers
Describe the solution you'd like Extend existing vue types and link it with the project.
Agreed, I just tried to implement this in a vue-ts project and for the life of me I can't get it to work.
There are several issues:
The extension definitions are wrong, and don't take args despite the fact that they could:
The actual plugin definition is broken. You've made it a type, so it can't be used as a value: