2024年3月31日发(作者:)

default: true

},

htmlTags: {

type: Object,

default: function () {

return {

font: ['color', 'size', 'face', '.background-color'],

span: ['style'],

div: ['class', 'align', 'style'],

table: ['class', 'border', 'cellspacing', 'cellpadding', 'width', 'height', 'align', 'style'],

'td,th': ['class', 'align', 'valign', 'width', 'height', 'colspan', 'rowspan', 'bgcolor', 'style'],

a: ['class', 'href', 'target', 'name', 'style'],

embed: ['src', 'width', 'height', 'type', 'loop', 'autostart', 'quality',

'style', 'align', 'allowscriptaccess', '/'],

img: ['src', 'width', 'height', 'border', 'alt', 'title', 'align', 'style', '/'],

hr: ['class', '/'],

br: ['/'],

'p,ol,ul,li,blockquote,h1,h2,h3,h4,h5,h6': ['align', 'style'],

'tbody,tr,strong,b,sub,sup,em,i,u,strike': []

}

}

},

wellFormatMode: {

type: Boolean,

default: true

},

resizeType: {

type: Number,

default: 2

},

themeType: {

type: String,

default: 'default'

},

langType: {

type: String,

default: 'zh-CN'

},

designMode: {

type: Boolean,

default: true

},

fullscreenMode: {

type: Boolean,

default: false

},

basePath: {

type: String

},

themesPath: {

type: String

},

pluginsPath: {

type: String,

default: ''

},

langPath: {

type: String

},

minChangeSize: {

type: Number,

default: 5

},

loadStyleMode: {

type: Boolean,

default: true

},

urlType: {

type: String,

default: ''

},

newlineTag: {

type: String,

default: 'p'

},

pasteType: {