want to get start adn end index of text(content) from selectNodeContents() or document.createRange()

后端 未结 0 803
南旧
南旧 2021-02-06 07:26

I want to get the start and end index of the selected text(content) from the whole content using selectNodeContents() or document.createRange().

I have tried



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题