On Jan 17, 2009, at 10:07 AM, Vincent Massol wrote:

> Hi,
>
> Just realized that our new WYSIWYG editor will only work fine with our
> xwiki 2.0 syntax since other wiki syntaxes are less powerful and won't
> be able to express some complex structures (like embedding a document
> inside a table cell) or simply like styling a portion of text.
>
> Of course this is not a problem of the wysiwyg editor per see but in
> practice it means that users using it for other syntaxes when they
> save will get a different rendered result.
>
> So I"m tempted to say that our GWT editor will only work for the xwiki
> 2.0 syntax and that for the other syntaxes users will have to use the
> wiki editor.

Option 2:
* Add the notion of Syntax Capability in the rendering
* Modify that WYSIWYG editor so that it enables toolbar entries based  
on syntax capabilities only

Option 2 is probably nicer but more complex too.

I think I'm still for the simple thing for now which is option 1.

> WDYT?

Thanks
-Vincent
http://xwiki.com
http://xwiki.org
http://massol.net






_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to