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
需要滑动区域用attachShadow({ mode: "open" })渲染的内容,highlighter.getSelectionRange()获取不到内容如何解决
The text was updated successfully, but these errors were encountered:
@qilong1997 很可惜,目前 getSelection API 没办法支持 ShadowDOM 内部的 selection 选中监听,参考这个 issue,目前有在讨论通过一个新的 API getComposedRange 来支持 ShadowDOM,但目前还没有浏览器实现,所以暂时没办法解决这个问题。
Sorry, something went wrong.
No branches or pull requests
需要滑动区域用attachShadow({ mode: "open" })渲染的内容,highlighter.getSelectionRange()获取不到内容如何解决
The text was updated successfully, but these errors were encountered: