자동저장 기능을 추가된 에디터에서도 사용할 수 있도록 수정
This commit is contained in:
13
plugin/editor/smarteditor2/autosave.editor.js
Normal file
13
plugin/editor/smarteditor2/autosave.editor.js
Normal file
@ -0,0 +1,13 @@
|
||||
function get_editor_wr_content()
|
||||
{
|
||||
return oEditors.getById['wr_content'].getIR();;
|
||||
}
|
||||
|
||||
function put_editor_wr_content(content)
|
||||
{
|
||||
oEditors.getById["wr_content"].exec("SET_CONTENTS", [""]);
|
||||
//oEditors.getById["wr_content"].exec("SET_IR", [""]);
|
||||
oEditors.getById["wr_content"].exec("PASTE_HTML", [content]);
|
||||
|
||||
return;
|
||||
}
|
||||
Reference in New Issue
Block a user