From 67823b3bfbb17084a2c7530cef28114516d0dace Mon Sep 17 00:00:00 2001 From: guange <8863824@gmail.com> Date: Tue, 24 Nov 2015 18:06:32 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3ke=E9=AB=98=E5=BA=A6=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/assets/javascripts/init_activity_KindEditor.js | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/app/assets/javascripts/init_activity_KindEditor.js b/app/assets/javascripts/init_activity_KindEditor.js index e48d055fb..c1d533f36 100644 --- a/app/assets/javascripts/init_activity_KindEditor.js +++ b/app/assets/javascripts/init_activity_KindEditor.js @@ -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;