[英]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. 传递id时,此tinymce get函数将返回Editor实例。 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? 为此,tinymce中内置了什么吗?
不幸的是,Tinymce中没有内置这种功能。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.