error in addCommands()
inside Extension.create()
#4222
Answered
by
Flaviogonzalez
piszczu4
asked this question in
Questions & Help
-
Hi, I wrote the following extension
but I got an error:
What should I change? |
Beta Was this translation helpful? Give feedback.
Answered by
Flaviogonzalez
Oct 2, 2024
Replies: 2 comments
-
I'm getting this error too. |
Beta Was this translation helpful? Give feedback.
0 replies
-
try this code at the top of your extension
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
nperez0111
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
try this code at the top of your extension
https://tiptap.dev/docs/guides/typescript#command-type