Opened 11 years ago
Closed 10 years ago
#11982 closed Bug (fixed)
Bullet added Above after enter key on indented bullet
Reported by: | Nathan Frost | Owned by: | Artur Delura |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.4.8 |
Component: | General | Version: | 4.2 |
Keywords: | Cc: |
Description (last modified by )
Steps to reproduce (works on demo site):
- Create three items list.
- Place caret at the end of the last item.
- Press enter.
- Press tab to indent the new item.
- Press enter.
- Expected Result: Last bullet should disappear, caret appears below list (or in the last item).
- Actual Result: Editor adds new item after the 2nd one.
See Screencast: http://screencast.com/t/ggp0OoqUR (Note: screencast is misleading - read the description above).
Change History (8)
comment:1 Changed 10 years ago by
Keywords: | bullet cursor removed |
---|---|
Status: | new → confirmed |
Version: | 4.3.3 → 4.2 |
comment:2 Changed 10 years ago by
Just stumbled upon this problem myself. Is there any update on this?
comment:3 Changed 10 years ago by
Currently no one is working on this ticket but I will forward it, to my colleagues, as a reminder.
comment:4 Changed 10 years ago by
Description: | modified (diff) |
---|
comment:5 Changed 10 years ago by
Owner: | set to Artur Delura |
---|---|
Status: | confirmed → assigned |
comment:6 Changed 10 years ago by
Status: | assigned → review |
---|
We decided that each enter command should outdent list one level. In ticket use case nesting was two so when enter is pressed we don't escape whole list, but just reduce indentation.
So having such situation
<ul> <li>foo <ul> <li>^</li> </ul> </li> </ul>
and pressing enter we decrement intentation:
<ul> <li>foo</li> <li>^</li> </ul>
That's the expected and implemented result in branch:t/11982b. Tests are also provided.
comment:7 Changed 10 years ago by
Milestone: | → CKEditor 4.4.8 |
---|
Assigning milestone, so we don't forget about this ticket.
comment:8 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | review → closed |
I made some clean up in tests and closed with git:0db52ce.
NOTES:
Expected result is that bullet on 1st level should appear.
Problem can be reproduced from CKEditor 4.2 in every browser.