Index: typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js =================================================================== --- typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js (révision 7078) +++ typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js (copie de travail) @@ -56,6 +56,7 @@ this._timerToolbar = null; this.doctype = ''; this.eventHandlers = {}; + this.ready = false; } }; @@ -1174,6 +1175,7 @@ } } editor.updateToolbar(); + editor.ready = true; }; /* @@ -1207,7 +1209,9 @@ if (editor) { RTEarea[editorNumber].editor = null; // save the HTML content into the original textarea for submit, back/forward, etc. - editor._textArea.value = editor.getPluginInstance("EditorMode").getHTML(); + if (editor.ready) { + editor._textArea.value = editor.getPluginInstance("EditorMode").getHTML(); + } // do final cleanup HTMLArea.cleanup(editor); }