wangEditor更改默认高度

在使用WangEditor时觉得高度太低,默认是300px;想调下高度,借鉴https://blog.csdn.net/qq_31384551/article/details/83240188,

网址博主解释的很详细,我就不解释了

直接在页面撸代码,

<style type="text/css">
.toolbar {
border: 1px solid #ccc;/*设置下拉棒*/
}
.w-e-text-container{
height: 600px !important;/*!important是重点,因为原div是行内样式设置的高度300px*/
}
</style>

 在设置下拉棒时,记得给div加class;

 

 

posted on 2018-12-30 14:21  让我再想想  阅读(6459)  评论(0编辑  收藏  举报

导航