Authored by xuhongyun

Merge branch 'hotfix_复制无图片' into grey

... ... @@ -7143,8 +7143,8 @@ var jQuery = require('jquery');
}
//ie下使用innerHTML会产生多余的\r\n字符,也会产生 这里过滤掉
//html = div.innerHTML; //.replace(/>(?:(\s|&nbsp;)*?)</g,'><');
html = div.innerText;
html = div.innerHTML; //.replace(/>(?:(\s|&nbsp;)*?)</g,'><');
// html = div.innerText;
/*if (typeof(UMEDITOR_CONFIG.removePasteStyle) != "undefined" && UMEDITOR_CONFIG.removePasteStyle == 1) {
html = html.replace(/<(p|div)[^>]*>(<br\/?>|&nbsp;)<\/\1>/gi, '\n')
... ...