Get the current node and content the user is typing on, cursor position. #1595
Unanswered
mandatoryGithubUser
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can I get the node/content at the position the user is currently typing. Their cursor position.
For example, let's the content is like below, with the html version underneath. Right now the user is typing
Test3...
, but how can I only get that node / content?We're able to listen to current content, where it'd return ALL the values back, either in markdown or prose nodes. We can also get all the content. But I want to get the node at the cursor position or where they're typing.
I can see it's possible to get the top-level node, or just the prose nodes, but how can you work out the existing node from that?
Beta Was this translation helpful? Give feedback.
All reactions