vue 的Quill Editor如何设置默认高度?

您所在的位置:网站首页 文本框如何设置高度 vue 的Quill Editor如何设置默认高度?

vue 的Quill Editor如何设置默认高度?

2024-07-17 17:32| 来源: 网络整理| 查看: 265

关于Quill Editor如何安装使用的文章比较多,这里不再赘述。

今天使用vue的Quill Editor给项目增加编辑器,很多文章只教了怎么安装,但是编辑器的高度默认是一行,在百度上死活找不到,后来又是谷歌帮了我一把,只需要在vue单页的style中增加一行即可,发在csdn上是希望借助csdn帮助使用百度的小伙伴么快速找到答案。

.edit_container { font-family: 'Avenir', Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-align: center; color: #2c3e50; margin-top: 60px; } .ql-editor{ height:400px; }

 来源:https://github.com/surmon-china/vue-quill-editor/issues/187



【本文地址】


今日新闻


推荐新闻


    CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3