M72X2/X2/plugin/editor/smarteditor2/autosave.editor.js
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;
}