I am trying to update one of my WordPress plugins where I create a tinyMCE button and open up a thickbox on click.

I've just tried switching over to a basic example for testing, and can't get this to work either.

    onclick : function() {
        ed.insertContent('Main button');
  • Try editor.on('click', function(e) { alert("Click") });. – josh Nov 2 '14 at 17:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.