diff --git a/public/assets/kindeditor/pasteimg.js b/public/assets/kindeditor/pasteimg.js index 385e02ac2..44aba63c9 100644 --- a/public/assets/kindeditor/pasteimg.js +++ b/public/assets/kindeditor/pasteimg.js @@ -417,10 +417,12 @@ function uploadpic(piclist,myself) { that.attr("data-ke-src", str[tIndex]); //非视频 - if(!(that.parent().attr("class") && that.parent().attr("class") == "mediaIcobox" )) { - that.parent().attr("href", str[tIndex]); - that.parent().attr("data-ke-src", str[tIndex]); - } +// if(!(that.parent().attr("class") && that.parent().attr("class") == "mediaIcobox" )) { +// that.parent().attr("href", str[tIndex]); +// that.parent().attr("data-ke-src", str[tIndex]); +// } + that.parent().removeAttr("href"); + that.parent().removeAttr("data-ke-src"); tIndex = tIndex + 1; } }