Roo/htmleditor/FilterWord.js
authorAlan <alan@roojs.com>
Thu, 21 Jul 2022 09:18:04 +0000 (17:18 +0800)
committerAlan <alan@roojs.com>
Thu, 21 Jul 2022 09:18:04 +0000 (17:18 +0800)
Roo/htmleditor/FilterWord.js

index a835b91..4c7fc2d 100644 (file)
@@ -174,6 +174,12 @@ Roo.extend(Roo.htmleditor.FilterWord, Roo.htmleditor.Filter,
         for( var i = 0; i < listpara.length; i ++) {
             listpara.item(i).className = "MsoListParagraph";
         }
+        listpara = doc.getElementsByClassName('MsoListParagraphCxSpMiddle');
+        for( var i = 0; i < listpara.length; i ++) {
+            listpara.item(i).className = "MsoListParagraph";
+        }
+        
+        
         // this is a bit hacky - we had one word document where h2 had a miso-list attribute.
         var htwo = doc.getElementsByTagName('h2');
         for( var i = 0; i < htwo.length; i ++) {