tiptap/docs/api/commands/join-forward.md

9 lines
357 B
Markdown
Raw Normal View History

2021-04-21 17:03:33 +08:00
# 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)
2021-04-21 17:03:33 +08:00
## Usage
```js
editor.commands.joinForward()
```
2021-05-28 17:45:52 +08:00