flat: style修改
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -94,6 +94,7 @@ export default {
|
||||
},
|
||||
canSelect: { type: Boolean, default: true },
|
||||
loading: Boolean,
|
||||
|
||||
prop: {
|
||||
type: Object,
|
||||
default() {
|
||||
|
||||
Reference in New Issue
Block a user