Enterkey on empty list item result weird
Reproducing Procedures
- Open the 'replace by class' sample page.
- Load the document with following content and selection:
<table>
<tbody>
<tr>
<td>
<ol>
<li>item1
<ol>
<li>item2</li>
<li><br />^</li>
</ol>
</li>
</ol>
</td>
</tr>
</tbody>
</table>
- Press enter two times;
- Actual Result: The result structure is in a mess;
- Expected Result: The list keep unchanged with cursor stay at the end of list;
Change History (5)
Component: |
Core : Styles →
Core : Lists
|
Keywords: |
Review+ added; Review? removed
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
Actually it's a quite a serious bug, actually when the first enter is pressed, the DOM is already wrong, which shows that simply outdent the list as currently does is not enough: