Copied to clipboard

Flag this post as spam?

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


  • Mike Chambers 636 posts 1253 karma points c-trib
    Aug 17, 2010 @ 14:34
    Mike Chambers
    0

    Trying to add the "ToggleVisualAid" functionlaity to TinyMCE.. without luck

    I've updated the TinyMCConfig.config with

        <command>
          <umbracoAlias>visualaid</umbracoAlias>
          <icon>images/editor/visualaid.gif</icon>
          <tinyMceCommand value="" userInterface="false" frontendCommand="visualaid">visualaid</tinyMceCommand>
          <priority>81</priority>
        </command>

    Which results in the developer/datatypes/richtexteditor having the checkbox/icon for visualaid, and I've checked that and saved. However, unlike other items I've added like xhtmlxtras (abbr/acronym) this doesn't result in the icon showing in the tinymce toolbar

    Doing a google search got me to the source for TinyMCE.cs...

    This seems to have visualaid as always hardcoded to be disabled?

    private string _disableButtons = "help,visualaid,";

    Is this a correct interpretation? and if so is there a reason why umbraco can never have togglevisualaid support?

     

    Thanks

    Mike

  • 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