diff --git a/public/assets/kindeditor/pasteimg.js b/public/assets/kindeditor/pasteimg.js index 44aba63c9..8831ba300 100644 --- a/public/assets/kindeditor/pasteimg.js +++ b/public/assets/kindeditor/pasteimg.js @@ -416,11 +416,8 @@ function uploadpic(piclist,myself) { that.attr("src", str[tIndex]); 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]); -// } + that.removeAttr("class"); + that.parent().removeAttr("class"); that.parent().removeAttr("href"); that.parent().removeAttr("data-ke-src"); tIndex = tIndex + 1;