tiptap 选择父节点 selectParentNode 会尝试获取当前选中节点的父节点,并将选区移动到那个节点。 使用方法 editor.commands.selectParentNode(); JavaScriptCopy