我有一个contenteditable div,需要在插入符号的位置插入文本,
这可以通过IE在IE中轻松完成 document.selection.createRange().text = "banana"
在Firefox / Chrome中有类似的实现方式吗?
在内容可编辑div中的光标处插入文本
哆啦的时光机
12345678_0001
慕桂英4014372
相关分类