deleteSelection command
The deleteSelection command in Tiptap targets and removes any nodes or content that are currently selected within the editor.
The deleteSelection command in Tiptap targets and removes any nodes or content that are currently selected within the editor.