How would I find the innerHTML index of text highlighted from textContent?

前端 未结 0 1173
滥情空心
滥情空心 2020-12-17 22:25

I am trying to program a simple text editor for fun. I am stuck on this problem. I want to add bold or italics to highlighted text on a button click. I figure the best way t

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