에디터 미리보기 개선

This commit is contained in:
conory 2017-07-13 15:59:00 +09:00
parent 9204353a15
commit c72e2ad49f
3 changed files with 19 additions and 65 deletions

View file

@ -7,7 +7,7 @@
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<!-- Editor Preview -->
<section class="section">
<section class="section collapsed">
<h1>{$lang->editor_now}</h1>
<div class="x_tabbable _preview">
<ul class="x_nav x_nav-tabs" style="margin-bottom:0;border-bottom:0">
@ -16,10 +16,10 @@
</ul>
<div class="x_tab-content x_thumbnail">
<div class="x_tab-pane x_active" id="pre_document">
<iframe src="{getUrl('','act', 'dispEditorConfigPreview','mode','main')}" id="pre_document_frame" frameborder="0" style="border:0"></iframe>
<iframe src="{getUrl('','act', 'dispEditorConfigPreview', 'type', 'document')}" id="pre_document_frame" frameborder="0" style="border:0"></iframe>
</div>
<div class="x_tab-pane" id="pre_comment">
<iframe src="{getUrl('','act', 'dispEditorConfigPreview','mode','comment')}" id="pre_comment_frame" frameborder="0" style="border:0"></iframe>
<iframe src="{getUrl('','act', 'dispEditorConfigPreview', 'type', 'comment')}" id="pre_comment_frame" frameborder="0" style="border:0"></iframe>
</div>
</div>
</div>
@ -308,7 +308,7 @@ jQuery(function($){
function preview(){
$('._preview iframe').css({
width : "100%",
height : "450px"
height : "500px"
});
}
preview();