Opened 17 years ago
Closed 17 years ago
#3095 closed Bug (fixed)
Indent/Outdent problem with list item
| Reported by: | Garry Yao | Owned by: | Martin Kou | 
|---|---|---|---|
| Priority: | Must have (possibly next milestone) | Milestone: | CKEditor 3.0 | 
| Component: | General | Version: | SVN (FCKeditor) - Retired | 
| Keywords: | Confirmed Review+ | Cc: | 
Description
Procedures
- Open the replace by code example page;
- Initial the document with the following content and selection:
<ol> <li>level1</li> <li>leve1 <ol> <li>^level2</li> </ol> </li> </ol> 
- Click on Outdent button to degrade list item once.
- Click on Indent button to arise list item once.
- Actual Result: The previous list item was indented too.
<ol> <li> level1 <ol> <li> leve1</li> <li> level2</li> </ol> </li> </ol> 
Attachments (1)
Change History (6)
comment:1 Changed 17 years ago by
| Keywords: | Confirmed added | 
|---|---|
| Owner: | set to Martin Kou | 
| Status: | new → assigned | 
comment:2 Changed 17 years ago by
| Priority: | Normal → High | 
|---|
Changed 17 years ago by
| Attachment: | 3095.patch added | 
|---|
comment:3 Changed 17 years ago by
| Keywords: | Review? added | 
|---|
comment:4 Changed 17 years ago by
| Keywords: | Review+ added; Review? removed | 
|---|
comment:5 Changed 17 years ago by
| Resolution: | → fixed | 
|---|---|
| Status: | assigned → closed | 
Fixed with [3253].
Click here for more info about our SVN system.


Turns out the bug was caused by a small logic error in the indent plugin, which is feeding arrayToList() the wrong UL or OL node to begin with.
There's also a small bugfix for the list plugin in the patch.