我正在处理现有项目。我必须检测到 tinyMCEfocusout/blur
事件才能通过 AJAX 自动保存它。我发现以下现有工作代码:
// reinit tinymce
$($("#chapterBill div:.module-container")[indexAfter]).find('textarea').each(function(i){
editorId = $(this).attr('id');
tinymce.EditorManager.execCommand('mceAddControl',true, editorId);
});
有人可以告诉我如何捕获 tinyMCE textareafocusout/blur
事件吗?
谢谢