From 62f91865e08ec60b8f1a3611282124f40cc66754 Mon Sep 17 00:00:00 2001
From: luoquan <545501972@qq.com>
Date: Fri, 11 Mar 2016 10:21:16 +0800
Subject: [PATCH] =?UTF-8?q?kindeditor=E8=A7=86=E9=A2=91=E6=B7=BB=E5=8A=A0?=
=?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=9B=BE=E7=89=87?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
public/assets/kindeditor/kindeditor.js | 9 +++++++--
public/images/video.png | Bin 0 -> 10406 bytes
2 files changed, 7 insertions(+), 2 deletions(-)
create mode 100644 public/images/video.png
diff --git a/public/assets/kindeditor/kindeditor.js b/public/assets/kindeditor/kindeditor.js
index 8978e8775..e9fabb5c9 100644
--- a/public/assets/kindeditor/kindeditor.js
+++ b/public/assets/kindeditor/kindeditor.js
@@ -931,12 +931,17 @@ function _mediaAttrs(srcTag) {
}
function _mediaEmbed(attrs,target) {
if(target && target === "media"){
- var html = ["","";
+ html[0].push("");
}else{
html.push(key, "=\"" , val , "\" ");
+ if(key === "width"){
+
+ }else if(key === "height"){
+
+ }
}
});
html.push("/>");
diff --git a/public/images/video.png b/public/images/video.png
new file mode 100644
index 0000000000000000000000000000000000000000..f62caaea653cc3a8cddab7c3efe231958e92359f
GIT binary patch
literal 10406
zcmeHti96KY`~Q1p7+I$Y*@_yE%3g-3Y-y5|C41J18aq>j5Hl@I2`!c;vQ$E3DO=We
z5yjZbRvHFR$~q(r4Zg?od_LFp`x}1O$91`8=KVhB-1oW9y}s^q%hLRWuz<7x1VO?l
zO$b&Hgalua&=xfK_#M`>3O;y(j858Y0e_KO&eOneezM8gAP6!Z+Wbc(?9p%n52b>S
zI|N$?l7d6eUAh2;hK8zn2lxhgoFiXQ3%ul+HmfTQLA#)ngrhcL=`&34o}A-Xisz?d
zNU~3l@+O}_pSh8hh19t9B#&rg^Db*|hv@BV$No;w!yXkAf7(rMGP!=#P*3F6mJfg3
zrR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