Tiptap
Docs
/
Editor
Guides
Examples
Templates
Website
Search
⌘
K
Search
⌘
K
Editor
Sign up
selectAll
Search
⌘
K
Getting started
Overview
Install
Vanilla JavaScript
React
Next.js
Vue 3
Vue 2
Nuxt
Svelte
Alpine
PHP
CDN
Configure
Styling
Custom menus
Extensions
Overview
Nodes
Blockquote
Bullet list
Code block
Code block lowlight
Details
Pro
Details content
Pro
Details summary
Pro
Document
Emoji
Pro
Hard break
Heading
Horizontal rule
Image
List item
Mention
Ordered list
Paragraph
Table
Table cell
Table header
Table row
Task list
Task item
Text
Youtube
Marks
Bold
Code
Highlight
Italic
Link
Strike
Subscript
Superscript
Text Style
Underline
Functionality
Bubble menu
Character count
Collaboration
Collaboration Cursor
Color
Comments
Beta
Pro
Content AI
Pro
Drag Handle
Pro
Drag Handle React
Pro
Dropcursor
Export
Beta
Pro
File handler
Pro
Floating menu
Focus
Font family
Gap cursor
History
Pro
Cloud
Invisible characters
Pro
List Keymap
Import
Beta
Pro
Mathematics
Pro
Placeholder
Snapshot Compare
Pro
Cloud
Starter kit
Table of contents
Pro
Text align
Typography
Undo & Redo History
Unique ID
Pro
Custom extensions
Extend existing
Create new
Node views
Javascript
React
Vue
Examples
Core Concepts
Introduction
Extensions
Nodes and Marks
Schema
Keyboard shortcuts
ProseMirror
API
Editor instance
Commands
Content
clearContent
cut
insertContent
insertContentAt
setContent
Nodes & Marks
clearNodes
createParagraphNear
deleteNode
extendMarkRange
exitCode
joinBackward
joinDown
joinForward
joinTextblockBackward
joinTextblockForward
joinUp
lift
liftEmptyBlock
newlineInCode
resetAttributes
setMark
setNode
splitBlock
toggleMark
toggleNode
toggleWrap
undoInputRule
unsetAllMarks
unsetMark
updateAttributes
Lists
liftListItem
sinkListItem
splitListItem
toggleList
wrapInList
Selection
blur
deleteRange
deleteSelection
enter
focus
keyboardShortcut
scrollIntoView
selectAll
selectNodeBackward
selectNodeForward
selectParentNode
setNodeSelection
setTextSelection
forEach
selectTextblockEnd
selectTextblockStart
setMeta
Utilities
HTML
Suggestion
Tiptap for PHP
Node Positions
Events
Editor
/
API
/
Commands
/
Selection
selectAll command
Selects the whole document at once.
Use the selectAll command
// Select the whole document
editor.
commands
.
selectAll
()