mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 01:23:32 +09:00
editorGetContent를 공용사용하게 하여 preview, temp save load가 xquared에서도 가능도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3049 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a1baa34a31
commit
671182b766
4 changed files with 12 additions and 15 deletions
|
|
@ -25,11 +25,6 @@ function editorGetTextArea(editor_sequence) {
|
|||
return xGetElementById( 'editor_textarea_' + editor_sequence );
|
||||
}
|
||||
|
||||
function editorSync(editor_sequence) {
|
||||
editorRelKeys[editor_sequence]['content'].value = editorGetContent(editor_sequence);
|
||||
}
|
||||
|
||||
|
||||
// editor_sequence에 해당하는 form문 구함
|
||||
function editorGetForm(editor_sequence) {
|
||||
var iframe_obj = editorGetIFrame(editor_sequence);
|
||||
|
|
@ -42,7 +37,7 @@ function editorGetForm(editor_sequence) {
|
|||
}
|
||||
|
||||
// 에디터의 전체 내용 return
|
||||
function editorGetContent(editor_sequence) {
|
||||
function editorGetContent_xe(editor_sequence) {
|
||||
var html = "";
|
||||
if(editorMode[editor_sequence]=='html') {
|
||||
var textarea_obj = editorGetTextArea(editor_sequence);
|
||||
|
|
@ -110,7 +105,7 @@ function editorStart(editor_sequence, primary_key, content_key, editor_height) {
|
|||
editorRelKeys[editor_sequence] = new Array();
|
||||
editorRelKeys[editor_sequence]["primary"] = fo_obj[primary_key];
|
||||
editorRelKeys[editor_sequence]["content"] = fo_obj[content_key];
|
||||
editorRelKeys[editor_sequence]["func"] = editorSync;
|
||||
editorRelKeys[editor_sequence]["func"] = editorGetContent_xe;
|
||||
|
||||
// saved document(자동저장 문서)에 대한 확인
|
||||
if(typeof(fo_obj._saved_doc_title)!="undefined" ) { ///<< _saved_doc_title field가 없으면 자동저장 하지 않음
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue