mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4832 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
1ab89c4392
commit
751928cb8e
3 changed files with 3 additions and 11 deletions
|
|
@ -101,14 +101,6 @@
|
|||
|
||||
|
||||
function dispEditorPreview(){
|
||||
/*
|
||||
Context::setResponseMethod();
|
||||
$content = Context::get('content');
|
||||
$oContext = Context::getInstance();
|
||||
$content = $oContext->transContent($content);
|
||||
Context::setResponseMethod('XMLRPC');
|
||||
Context::set('content',$content);
|
||||
*/
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('preview');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -177,7 +177,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>
|
||||
<iframe id="editor_preview_{$editor_sequence}" name="editor_preview_{$editor_sequence}" frameborder="0" height="{$editor_height}" style="display:none;border:0;"></iframe>
|
||||
<iframe id="editor_preview_{$editor_sequence}" name="editor_preview_{$editor_sequence}" frameborder="0" height="{$editor_height}" style="display:none;overflow:hidden;"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -121,8 +121,8 @@ function editorDragStart(evt) {
|
|||
|
||||
var iframe_obj = editorGetIFrame(editorDragObj.id);
|
||||
var textarea_obj = editorGetTextarea(editorDragObj.id);
|
||||
|
||||
editorDragObj.source_height = xHeight(iframe_obj);
|
||||
var preview_obj = xGetElementById('editor_preview_'+editorDragObj.id);
|
||||
editorDragObj.source_height = xHeight(iframe_obj) || xHeight(preview_obj);
|
||||
xGetElementById('xeEditorMask_' + editorDragObj.id).style.display='block';
|
||||
|
||||
xAddEventListener(document, 'mousemove', editorDragMove, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue