在Vue.js中设置CKEditor高度

7

我在Vue.js中尝试使用ckeditor5,但是遇到了一个问题,无法手动设置其高度,以下是我的代码,请让我知道是否有任何错误。

<ckeditor :editor="editor" v-model="editorData" :config="editorConfig"></ckeditor>

data() {
        return {
            editor: Editor,
            editorData: '',
            editorConfig: {
                height: '500px'
            }
        }
1个回答

10

经典编辑器(CKEditor 5)不再将编辑区域封装在


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接