tiptap/docs/api/commands/delete-selection.md
2022-06-08 12:15:59 +02:00

8 lines
189 B
Markdown

# deleteSelection
The `deleteSelection` command deletes the currently selected nodes. If no selection exists, nothing will be deleted.
## Usage
```js
editor.commands.deleteSelection()
```