Hi Guys,
Support pointed me to a new peice of code. It should be:
//Get the editor content
var editdoc=activityEditor.GetDocument();
// attach Event
if(editdoc.attachEvent){
editdoc.body.attachEvent('onfocus',activity_onFocus);
editdoc.body.attachEvent('onblur',activity_onBlur);
else if(editdoc.addEventListener){
editdoc.addEventListener('focus',activity_onFocus,true);
editdoc.addEventListener('blur',activity_onBlur,true);}
Can this be changed in the documentation please?
Thanks!