写道
Well it was doing the iframe instance mode in FF2 forever, no way around it there there is no contentEditable support at all. Regarding the recent change in FF3, I encountered a number of bugs specifically confined to its support for contentEditable, and the iframe designMode is simply more stable at this point and that's the reason why I made it the default while I see if contentEditable can be made less buggy.
As far as the styles go though, I recently (like 20 minutes ago) commited a new option 'externalCSS' that can be used to set a custom style sheet for the iframe mode in FF2/3. Use this to include styles to make the content being edited match your site.
这是nicEdit新版中作者解答的关于FF3下兼容性问题的原因.
偶英文太差,那位帮助翻译一下.
谢谢!
我来试试,看能不能赚点分:
在FF2中,它总是以iframe实例模式展现出来,这也是没有办法的因为FF2根本就不支持contentEditable。说道到FF3的变化,我碰到了许多bug,特别是针对于对contentEdit的支持的bug,且iframe的designMode在这点上也仅仅是更加稳定,那就是为什么当我看看contentEditable是否不会这么容易出问题的时候我将它设为默认的原因了。
就目前讨论到的样式,我不久前(好像是20分钟之前)提交了一个名为“externalCSS”的新选项,它能用来设置在FF2/3中的样式表。用此方法引入样式表来使正在编辑的内容符合你的网站。