Skip to content
This page is for Tiptap 2.x.See the latest version of this page.

selectAll command

Selects the whole document at once.

Use the selectAll command

// Select the whole document
editor.commands.selectAll()