---
title: "selectNodeBackward command"
description: "Use the selectNodeBackward command in Tiptap to select the node before the current textblock. 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/selection/select-node-backward.md)

# selectNodeBackward command

Use the selectNodeBackward command in Tiptap to select the node before the current textblock. Learn more in our docs!

If the selection is empty and at the start of a textblock, `selectNodeBackward` will select the node before the current textblock if possible.

## Use the selectNodeBackward command

```js
editor.commands.selectNodeBackward()
```
