Hi Neil,
I just encountered the same problem. I rather use DOM MutationEvents as
an alternative solution now.
For example:
var editor = document.getElementById("Editor");
editor.makeEditable("text", false);
var doc = editor.contentDocument;
>
> function modified() {
> dump("...");
> }
>
doc.addEventListener("DOMNodeInserted", modified, false);
doc.addEventListener("DOMCharacterDataModified", modified, false);
Look at
<http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/events.html#Events-eventgroupings-mutationevents>
for more information.
Best wishes,
Filip
_______________________________________________
Mozilla-xpcom mailing list
Mozilla-xpcom@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-xpcom