创建时添加红色部分属性
window.editor = K.create('#editor_ids', {
resizeType : 1,
minWidth : 650,
height:315,
allowPreviewEmoticons : false,
allowImageUpload : true,
items : [
'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
'insertunorderedlist', '|', 'emoticons', 'link','image'],
afterCreate: function () {
this.sync();
},
afterBlur: function () {
this.sync();
}
});