mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-28 07:40:13 +08:00
225 B
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 })