How can create a Selection in the browser in JavaScript?

后端 未结 0 1170
我寻月下人不归
我寻月下人不归 2021-01-26 17:20

The Selection API allows me to get the current selection with window.getSelection() and edit the selection with

selection.modify(\'extend\', \'backwa         


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