TypeError: editor.getAttributes is not a function #3927
Unanswered
appsol
asked this question in
Questions & Help
Replies: 1 comment
-
For vue3 setupIn all cases, you need to replace this.editor with editor.value
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have installed TipTap in a Vue3 app using the script setup syntax of the Composition API. I need to be able to add and remove links so have added the Links extension. Here is my component:
When I highlight text and click the Link button which calls
setLink
I get the error:TypeError: editor.getAttributes is not a function
Am I missing an extension that I should have installed?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions