Tiptap
Docs
3.x
/
Documentation
UI Components
Website
Search
⌘
K
Search
⌘
K
Sign up
selectAll
Search
⌘
K
Getting started
Collapse all in Getting started
Overview
Tiptap Editor
Quick start
Authentication
Pro access
Tiptap trial
What's new in 3.0
Features
Collapse all in Features
All features
AI
Paid
Review
Paid
Compare
Paid
Conversion
Paid
Composable Docs
Paid
Diagrams
Paid
Pages
Paid
Whiteboard
Paid
Starter kit
Text formatting
Text styling
Text blocks
Lists
Tables
Code and math
Media and embeds
Mentions and emoji
Menus and handles
Cursor and selection
Writing helpers
Document helpers
Clipboard and files
Real-time collaboration
Markdown
Documents
Concepts
Custom extensions
API reference
Collapse all in API reference
Editor instance
Commands
Content
Nodes & Marks
Lists
Selection
blur
deleteRange
deleteSelection
enter
focus
keyboardShortcut
scrollIntoView
selectAll
selectNodeBackward
selectNodeForward
selectParentNode
setNodeSelection
setTextSelection
forEach
selectTextblockEnd
selectTextblockStart
setMeta
Utilities
Node Positions
Decorations
Resizable Node views
Events
Input Rules
Paste Rules
Guides
Examples
Resources
API reference
/
Commands
/
Selection
Copy markdown
Ask AI
selectAll command
Selects the whole document at once.
Use the selectAll command
// Select the whole document
editor.commands.
selectAll
()
Previously
scrollIntoView
Next up
selectNodeBackward