Skip to content

Focus CustomNodeView on creation #1958

Discussion options

You must be logged in to vote
  1. Get its position with const pos = props.getPos()
  2. focus the editor at this positon editor.commands.focus(pos)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hanspagel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants