|
|
|
@ -11,10 +11,16 @@ function sd_create_editor(params){
|
|
|
|
|
height:"33px",// == undefined ? "30px":paramsHeight+"px",
|
|
|
|
|
minHeight:"33px",// == undefined ? "30px":paramsHeight+"px",
|
|
|
|
|
width:params.width,
|
|
|
|
|
/*
|
|
|
|
|
items:['emoticons','fontname',
|
|
|
|
|
'forecolor', 'hilitecolor', 'bold', '|', 'justifyleft', 'justifycenter', 'insertorderedlist','insertunorderedlist', '|',
|
|
|
|
|
'formatblock', 'fontsize', '|','indent', 'outdent',
|
|
|
|
|
'|','imagedirectupload','more'],
|
|
|
|
|
'|','imagedirectupload','more'],*/
|
|
|
|
|
items : ['code','emoticons','fontname',
|
|
|
|
|
'forecolor', 'hilitecolor', 'bold', '|', 'justifyleft', 'justifycenter', 'insertorderedlist','insertunorderedlist', '|',
|
|
|
|
|
'formatblock', 'fontsize', '|','indent', 'outdent',
|
|
|
|
|
'|','imagedirectupload','table', 'media', 'preview',"more"
|
|
|
|
|
],
|
|
|
|
|
afterChange:function(){//按键事件
|
|
|
|
|
var edit = this.edit;
|
|
|
|
|
var body = edit.doc.body;
|
|
|
|
|