项目

tiptap 设置节点选中

setNodeSelection 在给定位置创建一个新的选中节点。节点选中是指向单个节点的选择。了解更多

参数

position: number

这是新节点选择将被创建的位置。

使用示例

editor.commands.setNodeSelection(10);
在本文档中