#8249 closed Bug (fixed)
[FF]: Problems with deleting last list item
| Reported by: | Jakub Ś | Owned by: | Garry Yao |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 3.6.3 |
| Component: | Core : Lists | Version: | 3.0 |
| Keywords: | IBM | Cc: | satya_minnekanti@… |
Description (last modified by )
I have found this issue when reproducing 8248
Scenario 1
- Paste the following code:
<ol> <li> FirstListItem </li> <li> SecondListItem <ol> <li> ThirdListItem </li> <li> FourthListItem </li> <li> FifthListItem </li> </ol> </li> <li> SixthListItem </li> </ol>
- Place the cursor before "sixth item"
^SixthListItemand press backspace
Result: You wont be able to delete "3".
NOTE: Webkit and Opera concatenates fith item with sixth item - FifthListItemSixthListItem. IE puts sixth item in new paragraph. Not sure which behavior is correct.
Scenario 2
- The same as above
- Put the cursor behind fifth item
FifthListItem^and start pressing delete.
Result: When all text in sixth item gets deleted, number is deleted at the end.
Attachments (2)
Change History (12)
comment:1 Changed 14 years ago by
| Status: | new → confirmed |
|---|
comment:2 Changed 14 years ago by
| Cc: | satya_minnekanti@… added |
|---|
comment:3 Changed 14 years ago by
| Description: | modified (diff) |
|---|
comment:4 Changed 14 years ago by
| Keywords: | IBM added |
|---|
Changed 14 years ago by
| Attachment: | 8249.patch added |
|---|
comment:5 Changed 14 years ago by
| Owner: | set to Garry Yao |
|---|---|
| Status: | confirmed → review |
comment:6 Changed 14 years ago by
| Status: | review → review_failed |
|---|
The idea is good and it works well.
But just to avoid people complaining later, let's have it working well for this case:
- Load this HTML and selection:
<ul> <li> <p>Para 1</p> <p>^Para 2</p> </li> </ul>
- BACKSPACE
After patch, the li will outdent, instead of having the paragraphs merged.
Changed 14 years ago by
| Attachment: | 8249_2.patch added |
|---|
comment:7 Changed 14 years ago by
| Keywords: | Firefox removed |
|---|---|
| Status: | review_failed → review |
comment:8 Changed 14 years ago by
| Milestone: | → CKEditor 3.6.3 |
|---|---|
| Status: | review → review_passed |
comment:9 Changed 14 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | review_passed → closed |
Fixed with [7392].

Normalize this specific backspace to MS-Word alike behavior which outdent the list item.