자동저장 기능을 추가된 에디터에서도 사용할 수 있도록 수정

This commit is contained in:
chicpro
2015-09-11 16:42:20 +09:00
parent 5cf2074338
commit 0a4a9e3f47
8 changed files with 51 additions and 16 deletions

View 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;
}