XpressEditor 를 위한 lang 추가 및 인터페이스 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6016 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2009-04-03 02:06:40 +00:00
parent 658bafbd46
commit ba863dc17e
10 changed files with 346 additions and 25 deletions

View file

@ -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(''));
}
}
}