常见的,Ckeditor有以下的配置方法:

 

第一种:通过修改config.js文件对Ckeditor进行配置!

 

最常用的配置项无外乎也就三个:

 

config.width:编辑器的宽

 

config.height:编辑器的高

 

config.uiColor:编辑器的颜色,其中uiColor中的C必须大写,并且只能采用16进制颜色的格式!比如:#FF0000

Ckeditor的配置_Ckeditor

 

 

效果如下:

Ckeditor的配置_Ckeditor_02