Hi,
I've tried the code as presented in your Javascript-API example files. My editor is called Editor:
If I try to get the document with the following line of code:
var objDoc = obj_Editor.GetDocument();
I get an error that GetDocument() is undefined.
The reason I want to load this is to attach to an event. I've also tried the following options (gotten by debugging and trying)
obj_Editor.editdoc.attachEvent('onkeypress', Changed, true);
obj_Editor.editwin.attachEvent('onkeypress', Changed, true);
obj_Editor.textarea.attachEvent('onkeypress', Changed, true);
obj_Editor._frame.attachEvent('onkeypress', Changed, true);
but none of the above options work.
Regards
Vincent Traag