diff --git a/modules/editor/skins/xeed/editor.html b/modules/editor/skins/xeed/editor.html deleted file mode 100644 index f6832bcdd..000000000 --- a/modules/editor/skins/xeed/editor.html +++ /dev/null @@ -1,367 +0,0 @@ - - - - - - - - - - - - - - - - - - - - -
글을 쓰기 시작한지 1시간이 지났습니다. 마지막 저장 시간은 10분 전 입니다.
-{$lang->edit->no_image}
-- - - -
-{$lang->edit->no_multimedia}
-- - - -
-{$lang->edit->no_attachment}
-- - - -
-{$upload_status}
-]/g);
-
- if (match && match.length == 1) {
- code = code.replace(/<\/?p(?:\s[^>]+)?>/g, '');
- }
-
- return code;
-};
-
-// inline styled box
-var inline_styled = {
- 'in' : function(code) {
- return code.replace(/<(div|blockquote)(?:[^>]*) class="(bx|bq)"(?:[^>]*)>/ig, '<$1 class="$2">');
- },
- 'out' : function(code) {
- return code.replace(/<(div|blockquote)(?:[^>]*) class="(bx|bq)"(?:[^>]*)>/ig, function(a,tag,cls){
- if (tag == 'div' && cls == 'bx') {
- return '<'+tag+' class="'+cls+'" style="background:#fafafa;border:1px dotted #999;margin:1em 0;padding:0 2em">';
- } else if (tag == 'blockquote' && cls == 'bq') {
- return '<'+tag+' class="'+cls+'" style="border-left:3px solid #ccc;margin:1em 0;padding-left:1em">';
- }
- return a;
- });
- }
-};
-
-// auto_br
-var auto_br = {
- 'br2ln' : function(code) {
- return code.replace(/
/ig, '\n');
- },
- 'ln2br' : function(code) {
- return code.replace(/(>)?[ \t]*((?:\r?\n[ \t]*)+)[ \t]*(<)?/g, function(m0,m1,m2,m3){
- if ( !m1 || !m3 ) m2 = m2.replace(/\r?\n/g, '
');
- return (m1||'')+m2+(m3||'');
- });
- }
-};
-
-window.editorStart_xe = editorStart_xe;
-
-})(jQuery);
-
-function editorGetAutoSavedDoc(form) {
- var param = new Array();
- param['mid'] = current_mid;
- param['editor_sequence'] = form.getAttribute('editor_sequence')
- setTimeout(function() {
- var response_tags = new Array("error","message","editor_sequence","title","content","document_srl");
- exec_xml('editor',"procEditorLoadSavedDocument", param, function(a,b,c) { editorRelKeys[param['editor_sequence']]['primary'].value = a['document_srl']; if(typeof(uploadSettingObj[param['editor_sequence']]) == 'object') editorUploadInit(uploadSettingObj[param['editor_sequence']], true); }, response_tags);
- }, 0);
-
-}
diff --git a/modules/editor/skins/xeed/js/xe_textarea.js b/modules/editor/skins/xeed/js/xe_textarea.js
deleted file mode 100644
index a488ce88e..000000000
--- a/modules/editor/skins/xeed/js/xe_textarea.js
+++ /dev/null
@@ -1,41 +0,0 @@
-function editorStartTextarea(editor_sequence, content_key, primary_key) {
- var obj = xGetElementById('editor_'+editor_sequence);
- var use_html = xGetElementById('htm_'+editor_sequence).value;
- obj.form.setAttribute('editor_sequence', editor_sequence);
-
- obj.style.width = '99%';
-
- editorRelKeys[editor_sequence] = new Array();
- editorRelKeys[editor_sequence]["primary"] = obj.form[primary_key];
- editorRelKeys[editor_sequence]["content"] = obj.form[content_key];
- editorRelKeys[editor_sequence]["func"] = editorGetContentTextarea;
-
- var content = obj.form[content_key].value;
- if(use_html) {
- content = content.replace(/
]*)>/ig,"\n");
- if(use_html!='br') {
- content = content.replace(/</g, "<");
- content = content.replace(/>/g, ">");
- content = content.replace(/"/g, '"');
- content = content.replace(/&/g, "&");
- }
- }
- obj.value = content;
-}
-
-function editorGetContentTextarea(editor_sequence) {
- var obj = xGetElementById('editor_'+editor_sequence);
- var use_html = xGetElementById('htm_'+editor_sequence).value;
- var content = obj.value.trim();
- if(use_html) {
- if(use_html!='br') {
- content = content.replace(/&/g, "&");
- content = content.replace(//g, ">");
- content = content.replace(/\"/g, """);
- }
- content = content.replace(/(\r\n|\n)/g, "
");
- }
- return content;
-}
-
diff --git a/modules/editor/skins/xeed/js/xeed.js b/modules/editor/skins/xeed/js/xeed.js
deleted file mode 100644
index a5bc47d16..000000000
--- a/modules/editor/skins/xeed/js/xeed.js
+++ /dev/null
@@ -1,5005 +0,0 @@
-/*
- * XEED - XpressEngine WYSIWYG Editor
- * @author nhn (developers@xpressengine.com)
- */
-(function($){
-
-var d = document, fn, dp, dc,
- rx_command = /(?:^| )@(\w+)(?: |$)/,
- rx_block = /^(H[1-6R]|P|DIV|ADDRESS|PRE|FORM|T(ABLE|BODY|HEAD|FOOT|H|R|D)|LI|OL|UL|CAPTION|BLOCKQUOTE|CENTER|DL|DT|DD|DIR|FIELDSET|NOSCRIPT|MENU|ISINDEX|SAMP)$/i,
- invisibleCh = '\uFEFF',
- _nt_ = 'nodeType',
- _nn_ = 'nodeName',
- _ps_ = 'previousSibling',
- _ns_ = 'nextSibling',
- _pn_ = 'parentNode',
- _cn_ = 'childNodes',
- _ca_ = 'commonAncestorContainer',
- _sc_ = 'startContainer',
- _so_ = 'startOffset',
- _ec_ = 'endContainer',
- _eo_ = 'endOffset',
- _osc_ = 'oStartContainer',
- _iso_ = 'iStartOffset',
- _oec_ = 'oEndContainer',
- _ieo_ = 'iEndOffset',
- _ol_ = 'offsetLeft',
- _xr_ = '_xeed_root',
- rx_root = new RegExp('(?:^|\\s)'+_xr_+'(?:\\s|$)'),
- Xeed, XHTMLT, Simple, Block, Font, Filter, EditMode, LineBreak, Resize, UndoRedo, Table, URL, AutoSave, FindReplace, Clear, DOMFix;
-
-Xeed = xe.createApp('Xeed', {
- $textarea : null,
- $richedit : null,
- $toolbar : null,
- $root : null,
- _options : null,
- last_node : null,
-
- /**
- * @brief constructor
- */
- init : function(obj, options) {
- var self=this, $obj=$(obj), $text, $edit, opts, content, plugins, i, c, tmpId;
-
- // Options
- opts = $.extend({
- height : 200,
- minHeight : 400
- }, options);
- this._options = opts;
-
- // min height
- if (opts.minHeight > opts.height) opts.minHeight = opts.height;
-
- //
- if ($obj.is('textarea')) {
- $text = $obj;
- } else {
- $text = $obj.before('