<ul> when pasting bullets from word

  •  05-11-2011, 6:44 AM

    <ul> when pasting bullets from word

    Hi,
     
    I would like to have <ul> and <li> tags created when a bullet point list is pasted from Word. I have tried the various settings of EditorOnPaste on your page here http://www.cutesoft.net/example/editor-onpaste.aspx
     
    I would have thought the PasteCleanHTML would be the one, but it converts bullets like this:
     
    <p style="line-height: normal; text-indent: -18pt; margin: 0cm 0cm 0pt 36pt" class="MsoListParagraphCxSpFirst">&#183;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; blah blah blah</p>
     
    This is not what I want. I would be looking for:
     
    <ul>
    <li>blah blah blah</li>
    </ul>
     
    Any suggestions please?
     
    Thank you

     
     
View Complete Thread