에디터 기본 설정 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4802 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-11-07 11:52:49 +00:00
parent 189785a312
commit a7c17ca222
3 changed files with 52 additions and 78 deletions

View file

@ -212,15 +212,13 @@ a.skipToolBox:active span{ width:auto; height:auto; padding:3px 15px; font-weigh
.xeEditor .editorBox .editorMargin{ margin:0 5px;}
/* Editor Display */
.xeEditor .toolBox,
.xeEditor .richEditor,
.xeEditor .htmlEditor{ display:none;}
.xeEditor.rich .toolBox,
.xeEditor.rich .richEditor,
.xeEditor.html .htmlEditor{ display:block;}
.xeEditor .richEditor,
.xeEditor .htmlEditor{ border:0;}
.xeEditor .toolBox, .xeEditor .richEditor, .xeEditor .htmlEditor {display:none;}
.xeEditor.rich .toolBox, .xeEditor.rich .richEditor, .xeEditor.html .htmlEditor{ display:block;}
.xeEditor.preview .toolBox, .xeEditor.rich .xeEditor.html .htmlEditor { display:none;}
.xeEditor.preview .previewEditor { display:block;}
.xeEditor .richEditor, .xeEditor .htmlEditor{ border:0;}
.xeEditor .htmlEditor{ width:100%; padding:10px 0; font-size:12px;}
.xeEditor .previewEditor { display:none; }
/* Editor Resize Bar */
.xeEditor .textAreaDragIndicator{ border-top:1px solid; border-bottom:1px solid; clear:both; margin-bottom:5px;}

View file

@ -54,7 +54,7 @@
<!--@end-->
<!--@end-->
<li><a href="#" onclick="doDocumentPreview(this); return false;"><span>{$lang->cmd_preview}</span></a></li>
<li id="preview_html_{$editor_sequence}"><a href="#htmlEditor" onclick="editorChangeMode('preview','{$editor_sequence}');"><span>{$lang->cmd_preview}</span></a></li>
</ul>
<!-- 에디터 -->
@ -183,6 +183,7 @@
<div class="editorMargin" >
<iframe id="editor_iframe_{$editor_sequence}" class="richEditor" frameborder="0" height="{$editor_height}" title="Rich Text Editor"></iframe>
<textarea id="editor_textarea_{$editor_sequence}" class="htmlEditor" style="height:{$editor_height}" rows="5" cols="20" title="HTML Editor"></textarea>
<div id="editor_preview_{$editor_sequence}" class="previewEditor"></div>
</div>
</div>