docs: describe selectAll
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
# selectAll
|
||||
Selects the whole document at once.
|
||||
|
||||
<ContentMissing />
|
||||
## Usage
|
||||
```js
|
||||
// Select the whole document
|
||||
editor.commands.selectAll()
|
||||
```
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# setTextSelection
|
||||
If you think of selection in the context of an editor, you’ll probably think of a text selection. With `setTextSelection` you can control that text selection and set it to a specified range or position.
|
||||
|
||||
See also: [focus](/api/commands/focus), [setNodeSelection](/api/commands/set-node-selection), [deleteSelection](/api/commands/delete-selection)
|
||||
See also: [focus](/api/commands/focus), [setNodeSelection](/api/commands/set-node-selection), [deleteSelection](/api/commands/delete-selection), [selectAll](/api/commands/select-all)
|
||||
|
||||
## Parameters
|
||||
`position: number | Range`
|
||||
|
||||
@@ -192,7 +192,7 @@
|
||||
type: draft
|
||||
- title: selectAll
|
||||
link: /api/commands/select-all
|
||||
type: draft
|
||||
type: new
|
||||
- title: selectNodeBackward
|
||||
link: /api/commands/select-node-backward
|
||||
type: draft
|
||||
|
||||
Reference in New Issue
Block a user