我用的是jsf,richfaces版本:v.3.3.1.GA。我想减少 rich:editor 标签的高度样式(使用 tinyMCE),但它没有改变。
<rich:editor id="transactionResult" style="height: 10px;" height="10"
value="#{transactionsHome.instance.transactionResult}"
theme="simple" viewMode="visual">
</rich:editor>
最佳答案
使用 important 覆盖样式。
style="height: 10px !important;"
对于突出显示的类,将以下内容添加到您的 CSS 中:
.mceLayout {
height: 10px;
}
对于 iframe:
#iframeID {
height: 20px;
}
将 iframeID
替换为您的 iframe ID。
关于css - 编辑高度丰富 :editor tag,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35076738/