# 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 })
```