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

2016-06-23 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

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,

[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