---
title: "selectNodeBackward command"
description: "Use the selectNodeBackward command in Tiptap to select the node before the current textblock. Learn more in our docs!"
canonical_url: "https://tiptap.dev/docs/editor/api/commands/selection/select-node-backward"
---

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