Content Editable. getSelection() return wrong anchorOffset and focusOffset when contains HTML

后端 未结 0 738
天涯浪人
天涯浪人 2021-01-11 09:40

I\'ve no problem when my div contains just a text. But when it contains also HTML it returns wrong values! How can i have right values of selectionStart and End counting als

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