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:
haneul 2007-11-22 17:29:04 +00:00
parent a1baa34a31
commit 671182b766
4 changed files with 12 additions and 15 deletions

View file

@ -23,10 +23,9 @@ function getAdditionalAutocompletions() {
];
}
function editorSync_xq(editor_sequence) {
function editorGetContent_xq(editor_sequence) {
var editor = editorRelKeys[editor_sequence]['editor'];
editorRelKeys[editor_sequence]['content'].value = editor.getCurrentContent(true);
return;
return editor.getCurrentContent(true);
}
function editorStart_xq(editor, element, editor_sequence, content_key, editor_height, primary_key) {
@ -34,7 +33,7 @@ function editorStart_xq(editor, element, editor_sequence, content_key, editor_he
editorRelKeys[editor_sequence] = new Array();
editorRelKeys[editor_sequence]['editor'] = editor;
editorRelKeys[editor_sequence]['func'] = editorSync_xq;
editorRelKeys[editor_sequence]['func'] = editorGetContent_xq;
editorMode[editor_sequence] = null;
var fo_obj = editorGetForm_xq(element);
fo_obj.setAttribute('editor_sequence', editor_sequence);