Tiptap Editor 3.0 Beta is out. Start here

selectAll command

Selects the whole document at once.

Use the selectAll command

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