---
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!"
---

> This page is for Tiptap 2.x. [See the latest version of this page.](https://tiptap.dev/docs/editor/api/commands/nodes-and-marks/join-up.md)

# 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()
```
