Copied to clipboard

Flag this post as spam?

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

  • James Kahler 36 posts 78 karma points
    Jul 11, 2014 @ 18:21
    James Kahler

    Custom TinyMCE plugin angularjs scope


    I'm trying to create a custom plugin for tinymce in umbraco 7. i've got no problem creating the plugin. But i want to call the dialog service.

    What i can't work out is how to pass $scope and dialogservice into the plugin.

    I could do it by adding to the umbraco source in the tinyMceService and the RTEController but i don't really want to add to the source. Will i be able to do this using tinymce.PluginManager can i wrap it in some angular method? My angularjs knowledge is limited at best.

    tinymce.PluginManager.add('pluginname', function (editor) {
    editor.addButton('pluginname', {
        icon: 'custom icon-picture',
        tooltip: '',
        onclick: function () {

    Any help gratefully appreciated.

  • Jason 115 posts 630 karma points
    Jan 27, 2016 @ 16:26

    This is an old post but I am looking for the answer to this question as well. Can any one point me in the right direction?


    I figured out the issue, answer here:

Please Sign in or register to post replies

Write your reply to: