- 
                Notifications
    
You must be signed in to change notification settings  - Fork 219
 
Open
Description
When pasting a MS Word numeric list with more than 9 list items, every list item after the 9th is nested.
Here is a the expected DOM after pasting the content:
<ol>
    <li>One</li>
    <li>Two</li>
    <li>Three</li>
    <li>Four</li>
    <li>Five</li>
    <li>Six</li>
    <li>Seven</li>
    <li>Eight</li>
    <li>Nine</li>
    <li>Ten</li>
    <li>Eleven</li>
</ol>Here is the generated DOM after pasting the list in the Editor:
<ol>
    <li>One</li>
    <li>Two</li>
    <li>Three</li>
    <li>Four</li>
    <li>Five</li>
    <li>Six</li>
    <li>Seven</li>
    <li>Eight</li>
    <li>
        Nine
        <p datalist="0" datalevel="1" style="text-indent: -0.25in;">10.<span style="font: 7pt 'Times New Roman';"> </span>Ten</p>
        <p datalist="0" datalevel="1" style="text-indent: -0.25in;">11.<span style="font: 7pt 'Times New Roman';"> </span>Eleven</p>
        <p datalist="0" datalevel="1" style="text-indent: -0.25in;">12.<span style="font: 7pt 'Times New Roman';"> </span>Twelve</p>
        <p datalist="0" datalevel="1" style="text-indent: -0.25in;">13.<span style="font: 7pt 'Times New Roman';"> </span>trinaise</p>
    </li>
</ol>The issue is reproducible on Windows machines only, and when the convertMsLists, removeMsClasses, and removeMsStyles are enabled. Here is an Angular demo:
http://stackblitz.com/edit/angular-ualh2dy7-kc9szxsr
Attaching the MS Word file used for testing. It is important to enable editing: