In the view component, how do I detect when node is selected? #1007
Unanswered
vedmant
asked this question in
Questions & Help
Replies: 1 comment
-
Actually I figured this out, to get selection there is
|
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
-
For example with Prosemirror view it's done using this two functions,
selectNode
anddeselectNode
:I couldn't find anything like this in Tiptap docs or github issues.
The ideas is that a node should react to editor selection.
Beta Was this translation helpful? Give feedback.
All reactions