Re: [xwiki-users] How to disable marco editor in CKEditor 1.7

2016-06-24 Thread Wei He
Hi Vincent, Thanks for explaining how macro permission works. We are disabling certain macros permanently. We only need to hide some of them from the macro selector in CKEditor, for example, the groovy macro. Is there a best way to do that? Thanks, Wei -- View this message in context: http://x

Re: [xwiki-users] How to disable marco editor in CKEditor 1.7

2016-06-22 Thread Vincent Massol
Hi Wei, Actually the macro editing feature is not an optional feature and it’s not been made to be disabled (in the WYSIWYG editor or anywhere else FTM). Being able to edit macros is a major feature and the user will also always be able to go in wiki edit mode and edit the macro so the only way

Re: [xwiki-users] How to disable marco editor in CKEditor 1.7

2016-06-22 Thread Wei He
Hi Marius, Thanks for getting back to me. This change will hide the macro button on toolbar but user can still popup the macro editor by double clicking any existing macro in CKEditor. What's the best way to also disable the popup? Thanks, Wei -- View this message in context: http://xwiki.4757

Re: [xwiki-users] How to disable marco editor in CKEditor 1.7

2016-06-22 Thread Marius Dumitru Florea
Hi Wei He, Sorry for the late reply. Here's what you can do: * edit the CKEditor.EditSheet page using the object editor * expand the first JavaScriptExtension object ("CKEditor Loader") * replace removeButtons: 'Find,Anchor', with removeButtons: 'Find,Anchor,xwiki-macro', * save, clea

[xwiki-users] How to disable marco editor in CKEditor 1.7

2016-06-16 Thread Wei He
I am looking for advice on how to disable macro editor in CKEditor. We want to upgrade to 1.7 to fix bugs, but not ready to let users explore all macros. It would be nice if we can modify the script in CKEditor.EditSheet to disable it or hide the available macro list. -- View this message in c