Find out what's new in Tiptap Editor 3.0

selectParentNode command

selectParentNode will try to get the parent node of the currently selected node and move the selection to that node.

Use the selectParentNode command

editor.commands.selectParentNode()