我正在使用此组件https://github.com/tinymce/tinymce-vue,我想将整个编辑器的高度设置为500 px
。
<editor api-key="myapikey" :init="{plugins: 'wordcount,'"></editor>
答案 0 :(得分:0)
我已经弄清楚了,只需要在height
道具中添加:init
属性,就像这样:
<editor api-key="myapikey" :init="{plugins: 'wordcount',height: 500}"></editor>