Commit 1cc0250f authored by 黄奎's avatar 黄奎

页面修改

parent 7f0f3006
......@@ -30,6 +30,7 @@
setTimeout(() => {
var range = sel.getRangeAt(0);
var textNode = range.startContainer;
console.log("textNode",textNode.nodeName);
range.setStart(textNode, offset);
sel.removeAllRanges();
sel.addRange(range);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment