+1 for a way to represent empty lines inside the same paragraph because a WYSIWYG user can do the following: * write a paragraph with 3 lines line1 line2 line3 * delete the text on the middle line line1 line3 * at this point he can write on the middle line having the same style applied as for the previous and the following lines (because he's writing inside the same paragraph). The WYSIWYG cannot delete the middle line because the user might want to write in between. * the user saves and edits again. Currently the result is 2 paragraphs: line1 --- he cannot edit here because this is the space between paragraphs --- line3 which is not what the user had initially. Thanks, Marius. Vincent Massol wrote:
Hi,
We need to decide if we want to keep the "\\" syntax since now newlines are significant.
There are two use cases I can see:
1) If we want to allow users to enter empty paragraphs (using \\):
some para \\ still the same para
another para
2) Using \\ in scripts
For example:
#set ($var = "hello\\world") $var
note that a possibility is to use the following which is less nice IMO: #set ($var = "hello${xwiki.nl}world")
So here's my +1 to keep "\\" syntax.
Thanks -Vincent http://xwiki.com http://xwiki.org http://massol.net
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs