hel-o wrote:
Hi,
To remove the list formatting you can either use the outdent button from the tool bar or place the caret before "item1" and press Shift+Tab.
The behavior you describe can be reproduced also in the default editor ( http://www.mozilla.org/editor/midasdemo/ ) and I think it is the correct one. It may not be natural at first look, but consider the following example:
Dont know but just tried openoffice and there you remove list formatting with the list formatting butten and change the indent of the list with the outdent button.
Yes, I know, but the fact that Open Office has this behavior doesn't necessarily mean it is the best one. You can open an issue and if others share your opinion then we'll have to change the current behavior. My worry is that the current behavior is useful in some cases and we could loose this advantage.
3. When you undo the list formating and redo the list formating a paragraph is added between the two list items
- item1
- item2
I need more input on this. How do you get the list in the first place?
i had an list with two items
- item1 - item2
removed the list formatting with the list formatting button
item1
- item2
and changed the formatting to list formatting again
- item1
- item2
This is somehow normal because you have created two lists. Now, I can't think of a reason why the user would want the two lists to be separated so I think they should be automatically merged into a single list with two items. Can you open an issue for this? Thanks, Marius
tried that with the outdent button too, same behavior. also tried it in the default editor mentioned above, same behavior. but theres one difference, if i remove the paragraph (line break) what ever in XWiki i get
- item1item2
In the mentioned editor i get
- item1 - item2
hel.
----- hel. [email protected]