在 TinyMCE
中如何将此事件添加到工具栏 ID?
// Adds a click handler to the current document
tinymce.dom.Event.add(document.getElementById('test'), 'click', function (e) {
alert('test - tool bar clicked');
});
最佳答案
我想这个问题和你的另一个问题有相同的目标。我的回答可能对这个特殊目的没有帮助。嗯,这里是:
$('#' + your_editor_id + '_toolbargroup').bind('click', function(){
alert('test - tool bar clicked');
})
关于javascript - 将此事件添加到工具栏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11985493/