Skip to main content
added 4 characters in body
Source Link
redconservatory
  • 2.5k
  • 7
  • 28
  • 43

I have a tiny MCE button but I'd like to make it open a popup modal window(that is a custom php pagelike for the spellcheck). How do I go about doing this?

tinymce.create('tinymce.plugins.tinyplugin', {
 
        init : function(ed, url){
            ed.addButton('tinyplugin', {
            title : 'map',
                onclick : function() {
                   // make my pop up window?
                },
                image: url + "/icon.png"
            });
        }
    });

I have a tiny MCE button but I'd like to make it open a popup (that is a custom php page). How do I go about doing this?

tinymce.create('tinymce.plugins.tinyplugin', {
 
        init : function(ed, url){
            ed.addButton('tinyplugin', {
            title : 'map',
                onclick : function() {
                   // make my pop up window?
                },
                image: url + "/icon.png"
            });
        }
    });

I have a tiny MCE button but I'd like to make it open a modal window(like for the spellcheck). How do I go about doing this?

tinymce.create('tinymce.plugins.tinyplugin', {
 
        init : function(ed, url){
            ed.addButton('tinyplugin', {
            title : 'map',
                onclick : function() {
                   // make my pop up window?
                },
                image: url + "/icon.png"
            });
        }
    });
Source Link
redconservatory
  • 2.5k
  • 7
  • 28
  • 43

Custom Tiny MCE button to bring up a custom php popup

I have a tiny MCE button but I'd like to make it open a popup (that is a custom php page). How do I go about doing this?

tinymce.create('tinymce.plugins.tinyplugin', {
 
        init : function(ed, url){
            ed.addButton('tinyplugin', {
            title : 'map',
                onclick : function() {
                   // make my pop up window?
                },
                image: url + "/icon.png"
            });
        }
    });