diff --git a/modules/editor/components/quotation/tpl/popup.js b/modules/editor/components/quotation/tpl/popup.js
index 3a2629c45..135e34033 100644
--- a/modules/editor/components/quotation/tpl/popup.js
+++ b/modules/editor/components/quotation/tpl/popup.js
@@ -130,6 +130,7 @@ function insertQuotation() {
if(!content) content = " ";
+ var text = "\n
"+content+"
\n";
if(selected_node) {
selected_node.setAttribute("use_folder", use_folder);
@@ -144,9 +145,12 @@ function insertQuotation() {
selected_node.setAttribute("border_color", border_color);
selected_node.setAttribute("bg_color", bg_color);
selected_node.setAttribute("style", style);
+
+ if(selected_node.outHTML) selected_node.outHTML = text;
+
opener.editorFocus(opener.editorPrevSrl);
+
} else {
- var text = "\n
"+content+"
\n";
opener.editorFocus(opener.editorPrevSrl);
var iframe_obj = opener.editorGetIFrame(opener.editorPrevSrl)
diff --git a/modules/editor/tpl/js/editor.js b/modules/editor/tpl/js/editor.js
index 368011d02..2fd3dd944 100755
--- a/modules/editor/tpl/js/editor.js
+++ b/modules/editor/tpl/js/editor.js
@@ -283,8 +283,8 @@ function editorProcComponent(ret_obj, response_tags) {
// 컴포넌트의 동작이 새창 열기 일 경우
if(open_window == 'Y') {
- var win_left = screen.availWidth / 3;
- var win_top = screen.availHeight / 3;
+ var win_left = 10;
+ var win_top = 10;
winopen(popup_url, 'editorComponent', 'left='+win_left+',top='+win_top+',width=10,height=10,toolbars=no,scrollbars=no');
// 새창 열기가 아니면 정해진 영역에 innerHTML로 tpl 입력