Hi Farouk,

On Jan 30, 2010, at 10:45 AM, Marius Dumitru Florea wrote:

> farouk korteby wrote:
>> Hi,
>> 
>> I want to disable some developpement macros in GWT based wysiwyg, how can i
>> do it ?
> 
> AFAIK there's no way to disable a macro only in WYSIWYG mode. The 
> WYSIWYG editor takes the list of macros from the rendering module, and 
> you can't configure a macro to be enabled just for a specific edit mode. 
> You either have it for all edit modes or for none. Macros are components 
> and are automatically discovered. If you look in the WEB-INF/lib 
> directory you'll see many xwiki-core-rendering-macro-xxx jars. Try 
> removing some of them, but note that some macros like HTML and Velocity 
> (I think) are used internally and are required for the wiki pages to be 
> properly displayed (see http://jira.xwiki.org/jira/browse/XWIKI-3953 ).

Marius explained the current status but I would like to know more about the 
reason you wish to disable some macros in the WYSIWYG editor. In addition would 
you also like to disable them in wiki edition mode too?

If you have a generic and valid use case then we could imagine making this 
configurable in XE.

Thanks
-Vincent

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

Reply via email to