From e2f343b89dd2ac59050a477cb6f9f37f0d27c28b Mon Sep 17 00:00:00 2001 From: inureyes Date: Tue, 30 Mar 2010 06:18:55 +0000 Subject: [PATCH] =?UTF-8?q?=20refs=20#1438=20=20=20*=20=EC=97=90=EB=94=94?= =?UTF-8?q?=ED=84=B0=20=EB=AA=A8=EB=93=9C=20=EC=A0=84=ED=99=98=20=EC=A4=91?= =?UTF-8?q?=EC=97=90=20=EC=BB=A8=ED=85=90=ED=8A=B8=EA=B0=80=20=EB=88=84?= =?UTF-8?q?=EB=9D=BD=EB=90=98=EB=8A=94=20=EB=B2=84=EA=B7=B8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- interface/owner/entry/edit/index.php | 2 +- plugins/FM_Modern/editor.js | 16 ++++------------ 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/interface/owner/entry/edit/index.php b/interface/owner/entry/edit/index.php index c8a5c871c..2ee144c60 100644 --- a/interface/owner/entry/edit/index.php +++ b/interface/owner/entry/edit/index.php @@ -708,7 +708,7 @@ function returnToList() {
- +
:
TEXTAREA 전환 TTModernEditor.prototype.toggleMode = function() { if(this.editMode == "WYSIWYG") { + this.syncContents(); this.iframe.style.display = "none"; this.textarea.style.display = "block"; this.editMode = "TEXTAREA"; - this.textarea.value = this.html2ttml(); this.correctContent(); this.textarea.focus(); this.resizer.target = this.textarea; @@ -2021,6 +2013,7 @@ TTModernEditor.prototype.toggleMode = function() { else { this.iframe.style.display = "block"; this.textarea.style.display = "none"; + this.syncContents(); try { this.contentDocument.designMode = "on"; } catch(e) { this.iframe.style.display = "none"; @@ -2029,7 +2022,6 @@ TTModernEditor.prototype.toggleMode = function() { } this.editMode = "WYSIWYG"; this.correctContent(); - this.contentDocument.body.innerHTML = this.ttml2html(); try { this.contentDocument.body.focus(); } catch(e) { } this.resizer.target = this.iframe; }