How do I set the caret position inside a contenteditable div that contains other elements within?

后端 未结 0 880
生来不讨喜
生来不讨喜 2021-01-14 07:06

I need a script to place the caret of a contenteditable div right after the last character typed.

Simply typing a character doesn\'t work, since I have o

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