mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-22 08:07:50 +08:00
9 lines
288 B
Markdown
9 lines
288 B
Markdown
|
# joinUp
|
||
|
The `joinUp` command joins the selected block, or if there is a text selection, the closest ancestor block of the selection that can be joined, with the sibling above it. [See also](https://prosemirror.net/docs/ref/#commands.joinUp)
|
||
|
|
||
|
## Usage
|
||
|
```js
|
||
|
editor.commands.joinUp()
|
||
|
```
|
||
|
|