Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Warren Buckley 2106 posts 4836 karma points MVP 8x admin c-trib
    Dec 08, 2009 @ 10:16
    Warren Buckley
    0

    Right Click in RichTextEditor using a Mac

    Hiya,
    I am looking for help to add right click context menu to the RichTextEditor in Umbraco for Mac users please.

    I have found this solution on the tinyMCE forum
    http://tinymce.moxiecode.com/punbb/viewtopic.php?id=16484

    However if I look inside
    umbraco_client/tinymce/plugins/_template/editor_plugin_src.js

    This is what the forum post mentions to do:It's easy to fix.

    Just do the following in editor_plugin_src.js in context menu plugin: add '|| tinymce.isMac' to the if-statement below.

    ed.onContextMenu.add(function(ed, e) {
                    if (!e.ctrlKey) {

    I can't find that IF statement in the JavaScript, can anyone please help me out?

    Thanks,
    Warren

  • Warren Buckley 2106 posts 4836 karma points MVP 8x admin c-trib
    Dec 08, 2009 @ 10:21
    Warren Buckley
    0

    OK im being a bit dumb this morning, I managed to find it (there is anoter file called editor_plugin_src.js in umbraco which contains this code:

    This can be found here:
    umbraco_client/tinymce3/plugins/contextmenu/editor_plugin_src.js

     

  • Warren Buckley 2106 posts 4836 karma points MVP 8x admin c-trib
    Dec 08, 2009 @ 10:32
    Warren Buckley
    0

    Updating the src file does not seem to apply the fix, I presume I need to apply in the minified version.

    Warren

  • Warren Buckley 2106 posts 4836 karma points MVP 8x admin c-trib
    Dec 08, 2009 @ 10:42
    Warren Buckley
    0

    OK twitter user's @aim24 and @orcare to the rescue and mentioned its easier to set up the right click mouse button in OSX to the secondary button as opposed to the primary button.

    See OSX preference pane for Mouse to change this.
    Once set to secondary button, it works flawlesy (without need for ctrl + click)

    Screenshot
    http://img8.imageshack.us/img8/3935/picture1vof.png

    Warren :)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies