在使用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;

 

wangEditor更改默认高度

 

相关文章:

  • 2021-08-28
  • 2021-09-07
  • 2021-07-23
  • 2021-09-10
  • 2022-01-07
  • 2021-05-07
  • 2021-04-25
  • 2021-12-28
猜你喜欢
  • 2021-11-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-08
  • 2021-08-07
  • 2022-01-10
相关资源
相似解决方案