Hi, Blank lines being handled by the Wiki syntax is something that needs to be voted for. It can have some side effects on existing pages that can be very problematic. We might want to have a preference activating/deactivating the feature so that migration could be eased. Originally carriage return are not handled in Wiki syntax because otherwise your text was very hard to read. Older textarea where not even doing automatic carriage returns so your text would have been in one line. It's true that we could change this now. Now let's see the current status and what we could change: 1/ Handling of all carriage returns in the wiki syntax as BR Current status: not done Possible change: do it Possible consequences: breaking existing layouts, breaking conversion from WYSIWYG to Wiki syntax since the current behavior does not take them into account. Effect on wiki pages containing code (groovy, velocity). Change in habit for certain users. 2/ Handling of 2 blank lines in the wiki syntax Current status: 1 blank line creates a separate paragraph (<p>) Possible change: make it add a additional <br /> per blank line, make it add a empty paragraph per blank line Possible consequences: possible effect on page with code (not sure), change of habit I would say that 1/ is dangerous.. Maybe 2/ is possible with a settings so that it can be activated/deactivated Now About the WYSIWYG Editor: I'm not so sure about the Copy/Pasting from Word as Sergiu is saying. I think Word puts a lot of phony HTML that cannot be converted. There is a Word / Excel conversion that needs to be coded. A big bug in the WYSIWYG Editor has been fixed with the handling of titles in the trunk (not in the B4 release). I think it really improves the user experience. You should definitively give it a try. Ludovic F. Exertier a écrit :
Hi Vincent,
Vincent Massol wrote:
On Feb 21, 2007, at 4:50 PM, F. Exertier wrote:
Hi,
so, no solution to this issue ?
there's no syntax for that apart from using <br/>. What syntax would you expect? One reason there's no syntax is that it won't be simpler than html... :)
You can always create a velocity macro in yoru wiki, say {blankline} that internally outputs a <br/>.
People using this wiki are vp executives, they will not learn any macro... Sometime, they cut and paste some text from editors like word, this text includes some blank lines, they would not like to have to insert such formatting code manually ...
I think the wysiwyg editor does support adding new lines.
The team did a try two or three weeks ago with xwiki 1.0 beta 2 or 3. The wysiwyg was still not working (with any browser, even firefox) and there were some regressions. Do you know when a stable production version is expected ? If we commit the choice of xwiki, the goal is to deploy it on our platforms in the company, and for that we need a stable version.
Best Regards,
François
Maybe there are some other solution but then we need to understand why you need to insert several blank lines.
Thanks -Vincent
F. Exertier wrote:
Hi Vincent,
thanks for you quick answer. However the issue was not to insert a line break, but to insert a "blank line" (what I called "skip a line"), and the following does not work (with two blank lines):
" My line 1.
My line2. " I get the same result as you, a line break, but no blank line ...
Thanks for your help,
François
Vincent Massol wrote:
Hi Francois,
On Feb 20, 2007, at 2:41 PM, F. Exertier wrote:
Hi all,
we are currently deploying xwiki within our company. We use the last stable version, the same as the one used by ObjectWeb (0.9xxx). In this version we are using the WIKI Editor (the wysiwyg one is not running), but we have the following issue: in order to skip a line (to insert some line breaks), it is necessary to insert some "<br\>" HTML statements or some "\\" characters in the content.
XWiki recognizes a blank line as meaning a different paragraph. So the following should work just fine:
" My line 1.
My line2. "
The 2 lines should be displayed one under the other. However the following:
" My line1. My line2. "
Will be displayed on the same line when viewed.
In summary a blank line is how xwiki recognizes a different paragraph.
This is even not documented in the "help frame" on the right of the editor screen. This is a show stopper for us since we cannot ask our end users (people who will provide the content) to know this kind of syntax. Is there any turn around or any patch that could be used to cope with this issue ? We do not want to upgrade to the 1.0 beta version in a short term.
1.0 betas would definitely help as the WYSIWYG editor is much better in these versions and is the easiest to use for end users.
Thanks -Vincent
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost AIM: nvludo Yahoo: ludovic