更新时间:2021-07-04 07:51:12
在某些浏览器(特别是Firefox但不是IE)中,可以使用 document.execCommand()
with enableObjectResizing
命令:
In some browsers (notably Firefox but not IE), you can disable resize handles using document.execCommand()
with the enableObjectResizing
command:
document.execCommand("enableObjectResizing", null, false);