getEditor( window )- Return type:
nsIEditor - Returns the editing interface for the editor which contains numerous methods for manipulating the document. Pass the editor's
contentWindowas the argument.
getEditor( window )nsIEditorcontentWindow as the argument.