From f51b6f9b451d2012c8656f59aff17e4eaed0fe63 Mon Sep 17 00:00:00 2001 From: YJSoft Date: Fri, 17 Jul 2015 11:12:39 +0900 Subject: [PATCH] =?UTF-8?q?fix=20#1648=20CKEditor=EC=97=90=EB=8F=84=20?= =?UTF-8?q?=EC=9E=90=EB=8F=99=20=EC=A0=80=EC=9E=A5=20=EA=B8=B0=EB=8A=A5=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 기존 XpressEditor에 있던 자동저장 기능을 추가합니다. 50초마다 자동으로 저장되며 기존 XpressEditor처럼 설정에서 자동 저장 사용 여부를 바꿀 수 있습니다. --- modules/editor/skins/ckeditor/css/default.css | 1 + modules/editor/skins/ckeditor/editor.html | 13 +++++ .../editor/skins/ckeditor/file_upload.html | 9 ++++ modules/editor/tpl/js/editor.app.js | 48 +++++++++++++++++++ 4 files changed, 71 insertions(+) diff --git a/modules/editor/skins/ckeditor/css/default.css b/modules/editor/skins/ckeditor/css/default.css index e69de29bb..db49305e9 100755 --- a/modules/editor/skins/ckeditor/css/default.css +++ b/modules/editor/skins/ckeditor/css/default.css @@ -0,0 +1 @@ +p.editor_autosaved_message.autosave_message {display:none;background: #f6ffdb;padding:6px 10px;margin:0;line-height:1} \ No newline at end of file diff --git a/modules/editor/skins/ckeditor/editor.html b/modules/editor/skins/ckeditor/editor.html index 850691e89..ad3149792 100755 --- a/modules/editor/skins/ckeditor/editor.html +++ b/modules/editor/skins/ckeditor/editor.html @@ -8,6 +8,10 @@ + + {@ $css_content = null } {@ $css_content = '.xe_content.editable p { margin: 0;'. chr(125); } @@ -23,8 +27,17 @@ {@ $css_content .= chr(125);} + + + + + + +
+

 

+ diff --git a/modules/editor/skins/ckeditor/file_upload.html b/modules/editor/skins/ckeditor/file_upload.html index 63ede0eb7..acf7cf151 100644 --- a/modules/editor/skins/ckeditor/file_upload.html +++ b/modules/editor/skins/ckeditor/file_upload.html @@ -45,6 +45,15 @@