【发布时间】:2014-04-09 05:30:35
【问题描述】:
contenteditable 属性和user-modify css 规则之间的主要区别是什么?
到目前为止,我发现了两个:
- 使用
user-modify: read-write-plaintext-only我们可以disable pasting of rich text。 -
user-modify仅在 IE10+ 中受支持,而contenteditable在 IE 中自 5.5 版起受支持
谢谢!
【问题讨论】:
-
太糟糕了,这没有更多的答案。但是,您似乎已经列出了大部分差异/好处。
-
第一点是千篇一律的真实。它不是跨浏览器。例如 Firefox 不支持它。
标签: html contenteditable