🎁 100 free AI Toolkit licenses – apply by August 15.Learn more

selectAll command

Selects the whole document at once.

Use the selectAll command

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