From 033c7991e131d96003630ef081dcf2f5979961a0 Mon Sep 17 00:00:00 2001 From: luoquan <545501972@qq.com> Date: Fri, 11 Mar 2016 13:16:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AA=92=E4=BD=93=E6=92=AD?= =?UTF-8?q?=E6=94=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/assets/kindeditor/kindeditor.js | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/public/assets/kindeditor/kindeditor.js b/public/assets/kindeditor/kindeditor.js index 6302f01a7..8b1c68c70 100644 --- a/public/assets/kindeditor/kindeditor.js +++ b/public/assets/kindeditor/kindeditor.js @@ -931,19 +931,22 @@ function _mediaAttrs(srcTag) { } function _mediaEmbed(attrs,target) { if(target && target === "media"){ - var html = [[],""); + html[0].push(""); + html[0] = html[0].join(""); html.push("/>"); return html.join(""); }else{ @@ -2783,7 +2786,7 @@ _extend(KCmd, { sel.addRange(rng); if (doc !== document) { var pos = K(rng.endContainer).pos(); - //win.scrollTo(pos.x, pos.y); + //win.scrollTo(pos.x, pos.y); } } win.focus();