blob: 7a98df368b361929acc39bb004f10328c6ecb485 [file] [log] [blame]
When deleting the last ordered list item in a table cell, that it is the root editable element, we must delete the whole ordered list:
Before:
| <table>
| border="1"
| <tbody>
| <tr>
| <td>
| contenteditable="true"
| <ol>
| <li>
| id="li"
| <#selection-caret>
| <br>
After:
| <table>
| border="1"
| <tbody>
| <tr>
| <td>
| contenteditable="true"
| <div>
| <#selection-caret>
| <br>