# selectAll Selects the whole document at once. ## Usage ```js // Select the whole document editor.commands.selectAll() ```