Hi,
In the current implementation of the new WYSIWYG editor, the following
behavior occurs :
1. Type a word (say, "Test")
2. Highlight that word and make it a level 1 title
3. Put the caret at the beginning of the selection ("|Test" where
"|" is
the caret) and hit <return>
1. *Text on the second line is now a Level 1 title, as expected*
4. Go back to the previous line (using the <arrow up> key for
instance)
5. Start typing on the top line: the text uses the level 1 title style
(it does the same thing with other styles, such as bold or italics)
After talking with our project managers I think this should not happen: when
the user goes back to the previous line and starts typing, the text should
use the "normal" style (that is, no style at all) rather than the style that
was previously set on that line. In other words, styles should be applied to
words and content but not to lines themselves.
So in the end we would have :
| *(normal text, no style selected)*
LEVEL 1 TITLE
instead of
| *(level one title selected)*
LEVEL ONE TITLE
When the users hits <return> after writing LEVEL ONE TITLE.
Here's my informal +1 for this proposal.
Guillaume
--
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://blog.xwiki.com/