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