getHTMLEditor( window )- Return type:
nsIHTMLEditor - Returns the HTML editing interface for the editor which contains methods for manipulating an HTML document. Pass the editor's
contentWindowas the argument.
getHTMLEditor( window )nsIHTMLEditorcontentWindow as the argument.