Vincent Massol wrote: > On Thu, Mar 5, 2009 at 5:55 PM, Anca Paula Luca > <[email protected]> wrote: >> Marius Dumitru Florea wrote: >>> Thomas Mortagne wrote: >>>> Hi devs, >>>> >>>> We have to make a decision about that. >>>> >>>> So here are the proposals: >>>> >>>> 1) remove the block leading and trainling spaces >>>> * The main goal is to make source formatting for tables for example >>>> more readable >>>> >>>> 2) make the spaces inside paragraph non meaningfull >>>> * Meaning an HTML like behavior where multiple spaces give one space >>>> >>>> 3) in case of 1) or 2) use ~<space> as non breaking space >>>> >>>> WDYT ? >>> -0, the users will blame the WYSIWYG for messing up their nicely >>> formatted table/lists/etc. when switching between the editors. This will >>> make the WYSIWYG unusable for a wiki syntax user. >> 1/ this problem was there already and, if we use meaningful spaces, we only >> get >> rid of the problem because users wouldn't be able to nicely format the >> tables/lists/etc at all. So meaningful spaces means that you're taking away >> the >> possibility of nicely formated wiki syntax even to users that use _only_ wiki >> syntax and therefore could take advantage of it. >> >> 2/ as it was mentioned in a discussion we once had with Vincent, I'm >> wondering >> how many wiki syntax users will there be out there once we get the new >> wysiwyg >> strong enough. Otherwise put, is this use-case frequent enough? > > Everyone using the velocity or HTML macro are users of this use case. > Right now it's not possible to write velocity scripts that can be > read. Again see > http://jira.xwiki.org/jira/browse/XWIKI-3107?focusedCommentId=37707&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_37707
I put it slightly unclear, I was referring the switch use case. People that use the wiki and the wysiwyg interchangeable. Script authors would use the wiki only, I think in which case everything it would be fine. Still, I completely agree that if we can do something to avoid it, we should. I was only wondering if it's a frequent enough use case to deserve the tradeoff. (Not that it would really make a difference, but script content, if rendered properly in the <!--startmacro:--> comment, it will not be affected by the space stripping done when saving from the wysiwyg). Happy coding, Anca > > Thanks > -Vincent > > [snip] > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

