#11803 closed Bug (invalid)
Weird behaviour when playing with indentation on list
Reported by: | Artur Delura | Owned by: | |
---|---|---|---|
Priority: | Low | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
I'm not sure if it's bug but:
- Open editor with no content
- Create list by clicking adequate button
- Play with "Increase indent", "Decrease Indent" buttons
Actual result: List is escaped when we reach indentation level 0, so everything works fine.
Now do this:
- Open editor with no content
- Increase "empty" content with "Increase Indent" button
- Create list by clicking "Insert/Remove Ordered List"
- Click "Decrease Indent"
Actual result: List is escaped, but wether it should surely? I think it should be escaped when indentation level reach 0.
Change History (4)
comment:1 Changed 11 years ago by
Status: | new → confirmed |
---|
comment:3 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | confirmed → closed |
The confusion is caused by visual conflict between indentblock and indentlist. In step two of second TC you're adding margin. This margin is then inherited by the list item (actually I think that it should be inherited by ul/ol element, that's another thing). But when you click outdent in the <ul><li>^</li></ul>
the outdentlist steps in. That's totally correct, because what was the last action you made? You created list. So first action of outdent is to remove that list.
comment:4 Changed 11 years ago by
PS. Listblock is a non-semantic plugin and that's why it makes this confusion. But it's enabled only in full preset. In standard preset the behaviour is totally clear.
I'm also not sure what is expected behavior. We should as some people if we did not do it before.