X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-ui-debug.js;h=ce02fe33167fc8b80d66388b8a6a2f9b03115197;hb=e4d308ee7c0cef4860cc430139e9ee3984fb51eb;hp=012b11b971d962805021f744a64928bb34c975a0;hpb=203457b0ec48eb5de5ba128abcaea3886df0cf86;p=roojs1 diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index 012b11b971..ce02fe3316 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -21726,12 +21726,13 @@ Roo.extend(Roo.htmleditor.FilterWord, Roo.htmleditor.Filter, 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.getElementByTagName('h2'); + var htwo = doc.getElementsByTagName('h2'); for( var i = 0; i < htwo.length; i ++) { if (htwo.item(i).getAttribute('style').match(/mso-list:/)) { htwo.item(i).className = "MsoListParagraph"; } } + listpara = doc.getElementsByClassName('ql-indent-1'); while(listpara.length) { this.replaceDocBullet(listpara.item(0));