Removing resize handlers on contentEditable div

前端 未结 7 1997
一整个雨季
一整个雨季 2020-12-06 02:46

I created a contentEditable div to use as a rich textarea. It has resize handlers around it that I\'d like to get rid of. Any idea how I\'d do this?

Edit: This app

7条回答
  •  -上瘾入骨i
    2020-12-06 03:14

    for IE11 (I havn't tested the older versions of IE, but I feel like it would work) you can add contenteditable="false" attribute to the img tag. This will prevent any re-sizing from being done while keeping drag and drop in place.

提交回复
热议问题