在tinymce-vue组件中设置整个编辑器的高度

时间:2019-03-05 18:00:03

标签: vue.js tinymce

我正在使用此组件https://github.com/tinymce/tinymce-vue,我想将整个编辑器的高度设置为500 px

<editor api-key="myapikey" :init="{plugins: 'wordcount,'"></editor>

1 个答案:

答案 0 :(得分:0)

我已经弄清楚了,只需要在height道具中添加:init属性,就像这样:

<editor api-key="myapikey" :init="{plugins: 'wordcount',height: 500}"></editor>