Roo/HtmlEditorCore.js
authorAlan <alan@roojs.com>
Thu, 7 Jul 2022 02:21:31 +0000 (10:21 +0800)
committerAlan <alan@roojs.com>
Thu, 7 Jul 2022 02:21:31 +0000 (10:21 +0800)
Roo/HtmlEditorCore.js

index 1da95fe..709bef2 100644 (file)
@@ -595,7 +595,7 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component,  {
                        .map(function(g) { return g.toDataURL(); })
                        .filter(function(g) { return g != 'about:blank'; });
         
-        
+        Roo.log(html);
         html = this.cleanWordChars(html);
         
         var d = (new DOMParser().parseFromString(html, 'text/html')).body;
@@ -614,6 +614,9 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component,  {
         }
         
         if (images.length > 0) {
+            
+            
+            
             Roo.each(d.getElementsByTagName('img'), function(img, i) {
                 img.setAttribute('src', images[i]);
             });