当我在CSS引导类wells
中放入summernote时,summernote的背景颜色会变为灰色,如预期的那样。但是如何将summernote的背景颜色保持为白色。
<div class="well well-sm">
<div class="form-group">
<div id="summernote"></div>
</div>
</div>
答案 0 :(得分:3)
summernote有一个.note-editable类,您可以这样定位:
.note-editable {
background-color: #fff;
}
答案 1 :(得分:0)
直接CSS不起作用吗?
#summernote{
background-color: #ffffff;
}
最糟糕的情况是,您可以在背景颜色规则上拍一个!important
。