any event can be assigned by using property equal to event name
editor = new dhtmlXEditor({ parent:"my_editor_here", onFocusChanged:function(){ alert("Something changed..."); } });