tiptap/docs/api/commands/join-forward.md
2022-06-08 12:15:59 +02:00

9 lines
357 B
Markdown

# joinForward
The `joinForward` command joins two nodes forwards from the current selection. If the selection is empty and at the end of a textblock, `joinForward` will try to reduce the distance between that block and the block after it. [See also](https://prosemirror.net/docs/ref/#commands.joinForward)
## Usage
```js
editor.commands.joinForward()
```