docs(docs): 📝 add missing command docs

This commit is contained in:
Dominik Biedebach
2022-06-08 12:15:59 +02:00
parent 39f5e4c31e
commit 43f8843c3e
25 changed files with 204 additions and 97 deletions

View File

@@ -1,7 +1,8 @@
# 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)
:::warning
Oops, we didnt find time to fill this page. Writing documentation needs attention to detail, a great understanding of the project and time to write. Though Tiptap is used by thousands of developers all around the world, its still a side project for us. Lets change that and make open source our full-time job! [Become a sponsor!](https://github.com/sponsors/ueberdosis)
:::
## Usage
```js
editor.commands.joinForward()
```
https://prosemirror.net/docs/ref/#commands.joinForward