删除contentEditable div上的调整大小处理程序 [英] Removing resize handlers on contentEditable div
问题描述
我创建了一个contentEditable div用作丰富的textarea。它已经调整了我想要摆脱的周围的处理程序。任何想法我怎么做到这一点?编辑:这似乎发生,因为我绝对定位div,所以Firefox增加了真气_moz_resize属性的元素我无法关闭。
看起来我可以通过添加一个wrapper div并绝对定位wrapper,然后使inner div contentEditable来解决这个问题。 / p>
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 appears to be happening because I am absolutely positioning the div, so Firefox adds an infuriating _moz_resize attribute to the element which I cannot turn off.
It looks like I'll be able to work around this by adding a wrapper div and absolutely positioning the wrapper and then making the inner div contentEditable.
这篇关于删除contentEditable div上的调整大小处理程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!