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

index 4c7fc2d..a9fa6fb 100644 (file)
@@ -174,10 +174,15 @@ 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";
         }
+        listpara = doc.getElementsByClassName('MsoListParagraphCxSpLast');
+        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.