From e1485a6a69c4394f388d3a6078ac24196a0ca26c Mon Sep 17 00:00:00 2001 From: zero Date: Thu, 22 Mar 2007 02:03:15 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/trunk@594 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- .../components/quotation/tpl/popup.html | 4 +-- .../editor/components/quotation/tpl/popup.js | 2 +- modules/editor/tpl/editor.html | 30 +++++++++---------- modules/editor/tpl/js/editor.js | 3 +- 4 files changed, 20 insertions(+), 19 deletions(-) diff --git a/modules/editor/components/quotation/tpl/popup.html b/modules/editor/components/quotation/tpl/popup.html index e4a2a2353..97feb4a64 100644 --- a/modules/editor/components/quotation/tpl/popup.html +++ b/modules/editor/components/quotation/tpl/popup.html @@ -7,9 +7,9 @@
{$lang->quotation}
{$lang->quotation_use_folder}
-
+
-
+ @@ -65,7 +65,7 @@
- {$component} +
@@ -91,7 +91,7 @@ -
preview
+
diff --git a/modules/editor/tpl/js/editor.js b/modules/editor/tpl/js/editor.js index c2295ac26..39517209f 100755 --- a/modules/editor/tpl/js/editor.js +++ b/modules/editor/tpl/js/editor.js @@ -54,6 +54,7 @@ function editorStart(upload_target_srl) { ''+ ''+ content+ + "\n"+ ''+ ''; contentDocument.designMode = 'on'; @@ -112,7 +113,7 @@ function editorGetContent(upload_target_srl) { html = xInnerHtml(iframe_obj.contentWindow.document.body); if(!html) return; - return html.trim(); + return html; } // 에디터 내의 선택된 부분의 html 코드를 return