如何获取光标所在的位置作为 range 的 start

阅读次数 100

<img src="https://solution-community.wps.cn/uploads/post/4TsqfpWJDo1.png" alt="image.png"/>

<img src="https://solution-community.wps.cn/uploads/post/4TsqYBvft6S.png" alt="image.png"/>


光标不一定在文档最末尾,截图只是为了测试随便写的

1 Answers