mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-22 16:17:50 +08:00
189 B
189 B
deleteSelection
The deleteSelection
command deletes the currently selected nodes. If no selection exists, nothing will be deleted.
Usage
editor.commands.deleteSelection()