mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-26 10:47:49 +08:00
8 lines
365 B
Markdown
8 lines
365 B
Markdown
# joinBackward
|
|
The `joinBackward` command joins two nodes backwards from the current selection. If the selection is empty and at the start of a textblock, `joinBackward` will try to reduce the distance between that block and the block before it. [See also](https://prosemirror.net/docs/ref/#commands.joinBackward)
|
|
|
|
## Usage
|
|
```js
|
|
editor.commands.joinBackward()
|
|
```
|