On Apr 2, 2009, at 1:22 AM, Marius Dumitru Florea wrote:
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
step1
>
>
> removed the list formatting with the list formatting button
>
> item1
>
> - item2
step2
>
>
> and changed the formatting to list formatting again
>
> - item1
>
> - item2
step3
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?
I'm not sure about this one. The current behavior sounds right to me.
It sounds a bit too "magic"' to me to merge them automatically and I'm
sure there are use case where you can have 2 lists one after another.
This is valid in wiki syntax and we need that to be valid in the
wysiwyg editor too.
More precisely step2 sounds correct to me since the user is making the
item outside of the list so you need the new line since it becomes a
para when you do this.
I'm quite against step3 if we were to automatically merge two lists
one after another. We could have a join shortcut/icon for joining
lists (although hitting suppr when placed at the end of item1 should
do the same).
Thanks
-Vincent
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.
> hel(a)hel.at