How to replace selected text with another and keep selection?

后端 未结 0 1225
轻奢々
轻奢々 2021-02-01 10:40

I have a contenteditable. Inside it user wrote "Hello my dear world\' and selected \'my dear\'.

I want to replace this selected fragment but keep the selection. So \

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