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

Set the height of the entire editor in a tinymce-vue component

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

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

我刚弄明白,只需要将 height 属性 添加到 :init 属性中,如下所示:

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