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 ).
Hope this helps,
Marius
Thanks.