有一个div:<div contenteditable="true"></div>在IE(7,8,9)中,然后我单击一个按钮以使用该document.execCommand('insertImage')方法插入图像.然后插入图像.到现在为止没有问题.但是使用可调整大小的处理程序选择插入的图像.如何取消选择并重新聚焦图像?谢谢.
<div contenteditable="true"></div>
document.execCommand('insertImage')
$button.click(function(){ document.execCommand("insertImage",false,'url'); });
javascript jquery internet-explorer range
internet-explorer ×1
javascript ×1
jquery ×1
range ×1