Roo/htmleditor/FilterWord.js
authorAlan <alan@roojs.com>
Tue, 21 Jun 2022 03:29:04 +0000 (11:29 +0800)
committerAlan <alan@roojs.com>
Tue, 21 Jun 2022 03:29:04 +0000 (11:29 +0800)
Roo/htmleditor/FilterWord.js

index df8fdb4..c3b1bf7 100644 (file)
@@ -144,7 +144,7 @@ Roo.extend(Roo.htmleditor.FilterWord, Roo.htmleditor.Filter,
     replaceDocBullets : function(doc)
     {
         // this is a bit odd - but it appears some indents use ql-indent-1
-        Roo.log(document.body.innerHTML);
+        Roo.log(doc.body.innerHTML);
         var listpara = doc.getElementsByClassName('ql-indent-1');
         while(listpara.length) {
             this.replaceDocBullet(listpara.item(0));