We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<p>123</p> <p><b>345</b></p>
getTextPreOffset(p,b) 的计算结果是错误的。
The text was updated successfully, but these errors were encountered:
一开始 end 是 { node: P: ,offset: 0 } 经过 formatDomNode 计算后变成了 {$node: B , 0 }
Sorry, something went wrong.
web-highlighter/src/model/range/dom.ts
Line 38 in 1dbe0c3
当 $node = B 、I 的时候。 n.$node.nodeType === 1
No branches or pull requests
getTextPreOffset(p,b) 的计算结果是错误的。
The text was updated successfully, but these errors were encountered: