setEnd (node, offset) 设置范围,根据node节点的类型 nodeType 不同分属不同 ... 通过 console.log(range) 即可查看选中的文本;静默调用 toString() ...
確定! 回上一頁