Merge branch 'hotfix_复制无图片' into grey
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -7143,8 +7143,8 @@ var jQuery = require('jquery'); | @@ -7143,8 +7143,8 @@ var jQuery = require('jquery'); | ||
7143 | } | 7143 | } |
7144 | 7144 | ||
7145 | //ie下使用innerHTML会产生多余的\r\n字符,也会产生 这里过滤掉 | 7145 | //ie下使用innerHTML会产生多余的\r\n字符,也会产生 这里过滤掉 |
7146 | - //html = div.innerHTML; //.replace(/>(?:(\s| )*?)</g,'><'); | ||
7147 | - html = div.innerText; | 7146 | + html = div.innerHTML; //.replace(/>(?:(\s| )*?)</g,'><'); |
7147 | + // html = div.innerText; | ||
7148 | 7148 | ||
7149 | /*if (typeof(UMEDITOR_CONFIG.removePasteStyle) != "undefined" && UMEDITOR_CONFIG.removePasteStyle == 1) { | 7149 | /*if (typeof(UMEDITOR_CONFIG.removePasteStyle) != "undefined" && UMEDITOR_CONFIG.removePasteStyle == 1) { |
7150 | html = html.replace(/<(p|div)[^>]*>(<br\/?>| )<\/\1>/gi, '\n') | 7150 | html = html.replace(/<(p|div)[^>]*>(<br\/?>| )<\/\1>/gi, '\n') |
-
Please register or login to post a comment