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 2089 posts 4578 karma points MVP ∞ admin hq c-trib
    Jan 27, 2009 @ 15:29
    Warren Buckley
    0

    How do I create a custom button to be used in Rich Text Editor?

    Hello all,
    In V4 of Umbraco how would I create a custom button with its own icon to be used in the Rich Text Editor for me to run my own code.

    For example I want to insert a


    into the Rich Text Editor.
    I know there is the possibility of using the Rich Text Editor Dropdown styles, however I would prefer to allow the user to click one button to insert this markup into the editor.

    Thanks,
    Warren

  • Warren Buckley 2089 posts 4578 karma points MVP ∞ admin hq c-trib
    Jan 27, 2009 @ 15:43
    Warren Buckley
    0

    Following upto myself, I have found this tutorial
    [url]http://tinymce.moxiecode.com/examples/example_20.php[/url]

    However I have yet found out where I should be adding/ammeding this JS within the Umbraco file sturcture.

  • Warren Buckley 2089 posts 4578 karma points MVP ∞ admin hq c-trib
    Jan 27, 2009 @ 15:58
    Warren Buckley
    0

    OK some further information for me & other users.

    Umbraco has created plugins.
    [url]http://wiki.moxiecode.com/index.php/TinyMCE:Create_plugin/3.x[/url]

    Additionally i need to register the plug in in this XML config file.
    [url]config/tinyMceConfig.config[/url]

    I just need to do some research on how I would get this plugin to appear in the dataType section to allow us to choose the new button.

  • Warren Buckley 2089 posts 4578 karma points MVP ∞ admin hq c-trib
    Jan 27, 2009 @ 16:20
    Warren Buckley
    0

    OK I should have done my research a bit better as this post summarises the same thing.

    [url]http://forum.umbraco.org/yafpostst1992How-to-add-a-new-plugin-to-TinyMCE.aspx[/url]

  • 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