diff --git a/plugins/FM_Modern/editor.js b/plugins/FM_Modern/editor.js index 8da915a45..070f228aa 100644 --- a/plugins/FM_Modern/editor.js +++ b/plugins/FM_Modern/editor.js @@ -1993,8 +1993,8 @@ TTModernEditor.prototype.toggleMode = function() { this.iframe.style.display = "none"; this.textarea.style.display = "block"; this.editMode = "TEXTAREA"; - this.textarea.value = this.html2ttml(); this.correctContent(); + this.textarea.value = this.html2ttml(); this.textarea.focus(); this.resizer.target = this.textarea; }