---
title: "selectTextblockEnd command"
description: "Use the selectTextblockEnd command in Tiptap to move the cursor to the end of the current textblock. Learn more in our docs!"
canonical_url: "https://tiptap.dev/docs/editor/api/commands/select-textblock-end"
---

# selectTextblockEnd command

Use the selectTextblockEnd command in Tiptap to move the cursor to the end of the current textblock. Learn more in our docs!

The `selectTextblockEnd` will move the cursor to the end of the current textblock if the block is a valid textblock.

## Use the selectTextblockEnd command

```js
editor.commands.selectTextblockEnd()
```
