Hi Arioch,
On Jun 29, 2012, at 2:42 PM, Arioch wrote:
i have a brand new XWiki 4.1 install
I don't have any xwiki 1.0 documents
So i put this configuration:
xwiki.rendering.syntaxes = xwiki/2.1, creole/1.0, html/4.01
When i edit the page,., it offer me those formats PLUS xwiki/1.0
Why ? How can i really disable it ?
yeah, we force xwiki/1.0 ATM. You could try editing Panels.DocumentInformation and remove
the line dealing with xwiki/1.0
It would be nice if you could open an issue for this on
http://jira.xwiki.org
I thought that XWiki is largely markup-agniostic…
it is, at the level of the markup and rendering...
Is GUI editor really uncapable of creole markup ?
yes it's not supported because it would need to have a Creole Renderer written
whereas right now we have a Creole Parser only.
The reason is that the WYSIWYG needs to perform the following:
* Read wiki markup and generate HTML (supported)
* You modify the HTML (supported)
* Transform the HTML into markup again (not supported)
So Right now we written Renderers only for a few syntaxes, namely: XWiki Syntax 2.0/2.1
and XHTML/HTML.
Still, writing a renderer is not very hard, and we'd welcome patches for
any new output syntax.
The other limitation is that the WYISWYG editor has
capabilities built in (like ability to style selected content in certain ways) but the
underlying markup may not support it. For example creole may not support styling a portion
of text with some CSS styles. So what we would need in the future if we really want to
support multiple syntax in the WYSIWYG editor is also to add a notion of Markup
Capabilities and disable features in the WYSIWYG based on that...
Hope it makes it clear!