对于Quill Editor如何装置应用的文章比拟多,这里不再赘述。
明天应用vue的Quill Editor给我的项目减少编辑器,很多文章只教了怎么装置,然而编辑器的高度默认是一行,在百度上死活找不到,起初又是谷歌帮了我一把,只须要在vue单页的style中减少一行即可,发在csdn上是心愿借助csdn帮忙应用百度的小伙伴么疾速找到答案。
<style> .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; }</style>
起源:https://github.com/surmon-china/vue-quill-editor/issues/187