tiptap/docs/api/commands/select-parent-node.md

8 lines
193 B
Markdown
Raw Normal View History

2021-04-21 17:03:33 +08:00
# selectParentNode
`selectParentNode` will try to get the parent node of the currently selected node and move the selection to that node.
2021-04-21 17:03:33 +08:00
## Usage
```js
editor.commands.selectParentNode()
```