mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 23:29:57 +09:00
XpressEditor 를 위한 lang 추가 및 인터페이스 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6016 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
658bafbd46
commit
ba863dc17e
10 changed files with 346 additions and 25 deletions
|
|
@ -395,14 +395,19 @@ function insertUploadedFile(editorSequence) {
|
|||
}
|
||||
|
||||
|
||||
// html 모드
|
||||
if(editorMode[editorSequence]=='html'){
|
||||
if(text.length>0) xGetElementById('editor_textarea_'+editorSequence).value += text.join('');
|
||||
|
||||
// 위지윅 모드
|
||||
if(jQuery.isFunction(editorRelKeys[editorSequence]['pasteHTML'])){
|
||||
editorRelKeys[editorSequence]['pasteHTML'](text.join(''));
|
||||
}else{
|
||||
var iframe_obj = editorGetIFrame(editorSequence);
|
||||
if(!iframe_obj) return;
|
||||
if(text.length>0) editorReplaceHTML(iframe_obj, text.join(''));
|
||||
// html 모드
|
||||
if(editorMode[editorSequence]=='html'){
|
||||
if(text.length>0) xGetElementById('editor_textarea_'+editorSequence).value += text.join('');
|
||||
|
||||
// 위지윅 모드
|
||||
}else{
|
||||
var iframe_obj = editorGetIFrame(editorSequence);
|
||||
if(!iframe_obj) return;
|
||||
if(text.length>0) editorReplaceHTML(iframe_obj, text.join(''));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue