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

225 B

deleteRange

The deleteRange command deletes everything in a given range. It requires a range attribute of type Range.

Parameters

range: Range

Usage

editor.commands.deleteRange({ from: 0, to: 12 })