我们可以通过selection对象的getRangeAt方法来获取:. range = window.getSelection().getRangeAt(index)复制代码. getRangeAt()方法接受一个参数, ...
確定! 回上一頁