Opened 8 years ago
Closed 8 years ago
#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 (1)
Change History (5)
comment:1 Changed 8 years ago by garry.yao
- Status changed from new to assigned
Changed 8 years ago by garry.yao
comment:2 Changed 8 years ago by garry.yao
- Keywords Review? added
comment:3 Changed 8 years ago by fredck
- Component changed from Core : Styles to Core : Lists
- Keywords Review+ added; Review? removed
comment:4 Changed 8 years ago by garry.yao
- Resolution set to fixed
- Status changed from assigned to closed
Fixed with [3967].
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: