---
title: "joinUp command"
description: "Use the joinUp command in Tiptap to join the selected block with the sibling above it. Learn more in our docs!"
canonical_url: "https://tiptap.dev/docs/editor/api/commands/nodes-and-marks/join-up"
---

# joinUp command

Use the joinUp command in Tiptap to join the selected block with the sibling above it. Learn more in our docs!

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

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