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)

## Use the joinUp command

```
editor.commands.joinUp()
```

[Previously joinTextblockForward](/content/docs/editor/api/commands/nodes-and-marks/join-textblock-forward/index.html)

[Next uplift](/content/docs/editor/api/commands/nodes-and-marks/lift/index.html)
