Ticket #3982 (closed Bug: fixed)
Enterkey on empty list item result weird
| Reported by: | garry.yao | Owned by: | garry.yao |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 3.0 |
| Component: | Core : Lists | Version: | |
| Keywords: | Confirmed Review+ | Cc: |
Description
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;
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

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: