Joseph Shih
Joseph Shih

Reputation: 1294

How do you add an Event Listener that fires when tinymce get function gets called?

This tinymce get function returns an Editor instance when passed an id. I would like to have an event fire (or a callback) every time this function is called:

tinymce.get('mytextbox')

I have tried:

tinymce.on('Get', function(e){console.log('Get called!',e);});

But that didn't work. Is there anything built into tinymce for this?

Upvotes: 1

Views: 111

Answers (1)

Thariama
Thariama

Reputation: 50840

Unfortunatly, there is no such functionality built in Tinymce.

Upvotes: 1

Related Questions