mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-23 00:27:49 +08:00
11 lines
225 B
Markdown
11 lines
225 B
Markdown
# deleteRange
|
|
The `deleteRange` command deletes everything in a given range. It requires a `range` attribute of type `Range`.
|
|
|
|
## Parameters
|
|
`range: Range`
|
|
|
|
## Usage
|
|
```js
|
|
editor.commands.deleteRange({ from: 0, to: 12 })
|
|
```
|