Hi devs,
right now we need to hit enter twice in a row to create a new paragraph.
Although I strongly pushed this implementation back in the day, it is
proving to be counter-intuitive for almost all users. After a review of a
number of other tools (including OpenOffice & online text editors) & reading
of posts on the topic, I came to the conclusion that we'd better come back
to the previous behavior for the enter key:
- Hitting enter once creates a new paragraph
- Hitting caps + enter creates a new line in the same paragraph
When writing, users tend to write a number of sentences (most of the time
between 3 and 7 of them) and then hit enter to create a new paragraph. The
issue sometimes encountered is that an user writes a single line, then hits
enter to find out that a lot of spacing is entered between both lines. This
issue can easily be fixed through CSS in the default XWiki Enterprise
distribution (we could use OOo as a source of inspiration for the respective
line heights between 2 lines & 2 paragraphs - right now I'd say the height
between 2 paragraphs is a bit too big).
Additionally, this would "fix" the "issue" currently encountered by
users
when they input 2 lines and try to make one of them a title:
- User inputs line of text, hits enter, inputs 2nd line
- User puts caret at the end of first line and selects "Title 1"
- Both lines are turned into a title -> weird
This behavior is unexpected from an end-user point of view and would be
fixed by coming back to the previousbehavior for the enter key.
WDYT?
Guillaume
PS: I'm really sorry about the additional work incurred by my initial lack
of understanding of the role of paragraphs
--
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://guillaumelerouge.com/