Tinymce 如何为小型mce调用模糊事件函数

Tinymce 如何为小型mce调用模糊事件函数,tinymce,Tinymce,我想编写一个函数,保存tiny mce的内容,并销毁当前的tiny mce实例,当mce失去焦点时将调用该实例。类似的功能应该可以工作: // Code to be inserted into the init function of a plugin ed.onDeactivate.add(function(ed) { ed.save(); // or whatever you want to do to save the editor content ed.remove()

我想编写一个函数,保存tiny mce的内容,并销毁当前的tiny mce实例,当mce失去焦点时将调用该实例。

类似的功能应该可以工作:

// Code to be inserted into the init function of a plugin
ed.onDeactivate.add(function(ed) {
    ed.save();  // or whatever you want to do to save the editor content
    ed.remove(); // removes tinymce instance
});