mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-23 00:27:49 +08:00
8 lines
193 B
Markdown
8 lines
193 B
Markdown
# selectParentNode
|
|
`selectParentNode` will try to get the parent node of the currently selected node and move the selection to that node.
|
|
|
|
## Usage
|
|
```js
|
|
editor.commands.selectParentNode()
|
|
```
|