Hi all,
I am adding an nsIEditorObserver into an nsIEditor.addEditorObserver()
method.
whenever I would expect the observer to fire, it causes an exception and
crashes Firefox. Am I missing something obvious here?
var nsIEditorObserver = {
EditAction: function() {
dump( "\nEnd Action" );
}
};
var editor = document.getElementById("Editor");
editor.makeEditable("text", false);
nsIEditor = editor.getEditor(editor.contentWindow);
nsIEditor.addEditorObserver(nsIEditorObserver);
Any thoughts appreciated,
Cheers,
_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom