background image

{

        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'

 

:

 

[]

}

注:

filterMode 为 true 时有效。3.4 版本开始属性可设置 style,保留所有 inline 样

式。

9.

resizeMode
2 或 1 或 0,2 时可以拖动改变宽度和高度,1 时只能改变高度,0 时不能拖动。
数据类型:

Int

默认值:

2

10.

skinType
风格类型,

default 或 tinymce。

数据类型:

String

默认值:

default

注:

3.4 以前版本和 3.4.1 版本开始默认值为 default,3.4 版本的默认值为

oxygen  

11.

wyswygMode
可视化模式或代码模式
数据类型:

Boolean

默认值:

true

12.

cssPath
指定编辑器

iframe document 的 CSS,用于设置可视化区域的样式。

数据类型:

String 或 Array

默认值:空
注:

3.4.1 版本开始可指定多个 CSS 文件。例如:cssPath : ['a.css', 'b.css'] 

13.

skinsPath
指定编辑器的

skins 目录,skins 目录存放风格的 css 文件和 gif 图片。