flat: style修改

This commit is contained in:
Apcallover
2024-03-13 09:46:47 +08:00
parent b2df37c5f9
commit 70035db613
4 changed files with 22 additions and 12 deletions

View File

@@ -23,7 +23,17 @@ export default {
required: false,
default: 360
},
value:{type:String,default:""}
value:{type:String,default:""},
visibleToolbar: {
type: Boolean,
required: false,
default: true
},
visibleMenubar: {
type: Boolean,
required: false,
default: true
}
},
data() {
return {
@@ -48,7 +58,8 @@ export default {
selector: `#${this.tinymceId}`,
language:'zh_CN',
plugins: plugins,
toolbar: toolbar,
toolbar: this.visibleToolbar ? toolbar : false,
menubar: this.visibleMenubar ? true : false,
height: this.height, //编辑器高度
min_height: 400,
fontsize_formats: '12px 14px 16px 18px 24px 36px 48px 56px 72px',

View File

@@ -94,6 +94,7 @@ export default {
},
canSelect: { type: Boolean, default: true },
loading: Boolean,
prop: {
type: Object,
default() {