Ticket #3040: autosave-fixups.diff
| File autosave-fixups.diff, 1.4 KB (added by , 20 years ago) |
|---|
-
autosave.js.php
83 83 if ( typeof tinyMCE == "undefined" || tinyMCE.configs.length < 1 ) { 84 84 autosaveAjax.setVar("content", form.content.value); 85 85 } else { 86 if(tinyMCE.selectedInstance.spellcheckerOn) return; 86 87 tinyMCE.wpTriggerSave(); 87 88 autosaveAjax.setVar("content", form.content.value); 88 89 } -
tinymce/plugins/wordpress/editor_plugin.js
424 424 } 425 425 426 426 tinyMCE._customCleanup(this, "submit_content_dom", this.contentWindow.document.body); 427 var htm = skip_cleanup ? this.getBody().innerHTML : tinyMCE._cleanupHTML(this, this.getDoc(), this.settings, this.getBody(), tinyMCE.visualAid, true, true); 427 tinyMCE.selectedInstance.getWin().oldfocus=tinyMCE.selectedInstance.getWin().focus; 428 tinyMCE.selectedInstance.getWin().focus=function() {}; 429 var htm = tinyMCE._cleanupHTML(this, this.getDoc(), this.settings, this.getBody(), tinyMCE.visualAid, true, true); 430 tinyMCE.selectedInstance.getWin().focus=tinyMCE.selectedInstance.getWin().oldfocus; 428 431 htm = tinyMCE._customCleanup(this, "submit_content", htm); 429 432 430 433 if (!skip_callback && tinyMCE.settings['save_callback'] != "")
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)