解决ke高度加载问题
This commit is contained in:
parent
2a4a4bd034
commit
67823b3bfb
|
@ -29,7 +29,6 @@ function init_editor(params){
|
|||
}else if(this.edit.html().trim() != ""){
|
||||
params.submit_btn.show();
|
||||
}
|
||||
|
||||
//params.submit_btn.css("display","none");
|
||||
},
|
||||
afterFocus: function(){
|
||||
|
@ -43,16 +42,21 @@ function init_editor(params){
|
|||
// params.toolbar_container.show();
|
||||
$('#reply_image_' + id).removeClass('imageFuzzy');
|
||||
//edit.iframe.width(paramsWidth);
|
||||
|
||||
|
||||
this.toolbar.div.height(30);
|
||||
this.resize(paramsWidth, null);
|
||||
//params.submit_btn.show();
|
||||
},
|
||||
|
||||
afterCreate:function(){
|
||||
//params.submit_btn.hide();
|
||||
var toolbar = $("div[class='ke-toolbar']",params.div_form);
|
||||
toolbar.css('width',24);
|
||||
$(".ke-outline>.ke-toolbar-icon",toolbar).append('表情');
|
||||
params.toolbar_container.append(toolbar);
|
||||
|
||||
var toolbar1 = $("div[class='ke-toolbar']",params.div_form);
|
||||
toolbar1.css('width',24);
|
||||
$(".ke-outline>.ke-toolbar-icon",toolbar1).append('表情');
|
||||
params.toolbar_container.append(toolbar1);
|
||||
this.toolbar.div.height(0);
|
||||
//init
|
||||
var edit = this.edit;
|
||||
var body = edit.doc.body;
|
||||
|
|
Loading…
Reference in New Issue