Tiptap Editor 3.0 Beta is out. Start here

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()