2010-07-20 43 views

回答

0

像這樣的東西應該工作:

// 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 
});