Add the oncommand attribute to the CE:Editor control declaration. In this case oncommand="HandleEditorCommand(this)"
function HandleEditorCommand( editor)
{
if(event.command=='PostBack' && event.commandValue=='Save')
{
GetEditorHTML(editor);
event.returnValue = false;
}
}
function GetEditorHTML(editor)
{
//var editor = document.getElementById('CE_Editor1_ID');
var doc = editor.GetDocument();
alert(doc.body.innerHTML);
}
function SetEditorHTML()
{
var editor = document.getElementById('CE_Editor1_ID');
var doc = editor.GetDocument();
doc.body.innerHTML = "some html string";
}