Hi,

On Wed, Apr 22, 2009 at 9:56 AM, Marius Dumitru Florea <
[email protected]> wrote:

> Hi Guillaume,
>
> Guillaume Lerouge wrote:
> > 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
>
> I'm in favor of this behavior too. Having line breaks inside a paragraph
> is not very common IMO. When pressing Enter the user usually wants to
> get out of or split the current block of text. I think the current
> behavior was inspired by the XWiki 2.0 syntax where you have to leave an
> empty line (thus press Enter twice) between blocks of text like
> paragraphs. But the WYSIWYG editor should be independent of the
> underlying Wiki syntax used for storing the edited document.
>
> >
> > 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).
>
> I don't find the spacing between paragraphs as big. But maybe users feel
> different. If we consider this definition
> http://wordnetweb.princeton.edu/perl/webwn?s=paragraph then I think it's
> a good thing to have ideas well separated.


I guess we'll have to play with CSS a bit to decide on an optimal spacing.


> > 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?
>
> We can have it for XE 1.8.3 if no one's against it. I shouldn't take too
> much to revert.


That would be great + it's on the curriki bug list I think (see
http://jira.xwiki.org/jira/browse/XWIKI-3251 )

Thanks,
Guillaume


> Thanks,
> Marius
>
> >
> > Guillaume
> >
> > PS: I'm really sorry about the additional work incurred by my initial
> lack
> > of understanding of the role of paragraphs
> >
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>



-- 
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://guillaumelerouge.com/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to