From dfc1da68ecd0ce95e63ae085ff33e084b8f50a5f Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: Fri, 04 Jul 2025 14:00:09 +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