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

8 lines
221 B
Markdown
Raw Normal View History

2021-04-21 17:03:33 +08:00
# selectNodeBackward
2022-06-08 19:07:12 +08:00
If the selection is empty and at the start of a textblock, `selectNodeBackward` will select the node before the current textblock if possible.
2021-04-21 17:03:33 +08:00
## Usage
```js
editor.commands.selectNodeBackward()
```