I used the "oninit" parameter in the text areas and worked:
oninit: function(editor) { $currentTextArea.closest('form').bind('submit, invalid', function() { editor.save(); }); }
You can try using the onChange event, but it does not work properly in Firefox.
My full code is:
$('textarea.tinymce').each(function(){ var options = { theme : "advanced", skin : "cirkuit", plugins : "pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template", theme_advanced_buttons1 :"formatselect,fontsizeselect,forecolor,|,bold,italic,strikethrough,|,bullist,numlist,|,justifyleft,justifycenter,justifyright,|,link,unlink,|,spellchecker", theme_advanced_buttons2 : "", theme_advanced_buttons3 : "", theme_advanced_buttons4 : "", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_statusbar_location : "bottom", theme_advanced_resizing : true }, $this = $(this); // fix TinyMCE bug if ($this.is('[required]')) { options.oninit = function(editor) { $this.closest('form').bind('submit, invalid', function() { editor.save(); }); } } $this.tinymce(options); });