From b7ebccdbc4f29cc7663582213886579091c84dd5 Mon Sep 17 00:00:00 2001 From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com> Date: 星期五, 04 七月 2025 15:38:56 +0800 Subject: [PATCH] 修改新增 --- src/components/Tinymce/Tinymce.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/components/Tinymce/Tinymce.vue b/src/components/Tinymce/Tinymce.vue index 830a531..66e88fe 100644 --- a/src/components/Tinymce/Tinymce.vue +++ b/src/components/Tinymce/Tinymce.vue @@ -36,6 +36,10 @@ type: String, default: "" }, + height: { + type: Number, + default: 500 + }, disabled: { type: Boolean, default: false @@ -58,7 +62,7 @@ language: "zh_CN", skin_url: "/tinymce/skins/ui/oxide", // skin路径 content_css: '/tinymce/skins/content/default/content.css', - height: 500, // 编辑器高度 + height: this.height? this.height : 500, // 编辑器高度 branding: false, // 是否禁用“Powered by TinyMCE” menubar: true, // 顶部菜单栏显示 plugins: this.plugins, -- Gitblit v1.9.2