mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-26 02:37:49 +08:00
358 B
358 B
setNodeSelection
setNodeSelection
creates a new NodeSelection at a given position. A node selection is a selection that points to a single node. See more
Parameters
position: number
The position the NodeSelection will be created at.
Usage
editor.commands.setNodeSelection(10)