Re: [xwiki-users] How to disable marco editor in CKEditor 1.7
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 you have to prevent users from modifying macros is with permissions. More generally speaking we consider macro like content and it’s thus subject to the same permissions as content editing. To achieve what you want, you’d need to contribute a new permission (permission to edit a macro) and modify various parts of XWiki to check for that permission (for example having a listener on page save and verify that no macro has been modified, etc). It would be quite complex to implement and not natural IMO. Thanks -Vincent > On 22 Jun 2016, at 19:33, Wei He wrote: > > 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to disable marco editor in CKEditor 1.7
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.475771.n2.nabble.com/How-to-disable-marco-editor-in-CKEditor-1-7-tp766p7600060.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Integrate mocca calendar and meeting application extensions
Does anyone know of a way to integrate the meeting app and the mocca calendar app? Or has anyone attempted to do this in the past? The idea is that, when a meeting is created, the meeting would be automatically included in the calendars of the participants. The appropriate updates would need to be made when the meeting is modified, rescheduled or deleted of course. Mark Sack -- View this message in context: http://xwiki.475771.n2.nabble.com/Integrate-mocca-calendar-and-meeting-application-extensions-tp7600059.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to disable marco editor in CKEditor 1.7
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, clear the browser cache and reload the CKEditor edit mode. Hope this helps, Marius On Thu, Jun 16, 2016 at 7:42 PM, Wei He wrote: > 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 context: > http://xwiki.475771.n2.nabble.com/How-to-disable-marco-editor-in-CKEditor-1-7-tp766.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Incident lors de l'enregistrement d'une page
Hi Lewil, the error message "Bad gateway" does not come from XWiki directly, but from some other Server in between. Can you tell us more about your setup? Is there another Server running in front of XWiki, like an Apache Web Server or NginX ? Does the problem go away if you save the page first, and then upload/insert the image? Cheers Clemens > Hello, > > Whether it is from the model of "empty" page supplied in the XWiki or on a > model of page created beforehand, having to stick an image or having to > insert an image, it happens that by moment to see systematically that the > phase of recording does not take place or indicates me an error message of > the style " Bad gateway " or " servee not responding ". > > Thank you for your help(assistant) > > Cordially > > > > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/Incident-lors-de-l-enregistrement-d-une-page-tp7600034p7600035.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users