zhouwx
2 天以前 dfc1da68ecd0ce95e63ae085ff33e084b8f50a5f
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,