Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

nsIEditorDocShell

Provides a way to get an editor from a specific frame in a docShell hierarchy. It is intended to be only used internally.
Inherits from: nsISupports Last changed in Gecko 1.7

Use nsIEditingSession.makeWindowEditable() and nsIEditingSession.getEditorForWindow() from out side.

Method overview

void makeEditable(in boolean inWaitForUriLoad);

Attributes

Attribute Type Description
editable boolean This docShell is editable. Read only.
editor nsIEditor Gets or sets the editor for the content document.
hasEditingSession boolean This docShell has an editing session. Read only.

Methods

makeEditable()

Make this docShell editable, setting a flag that causes an editor to get created, either immediately, or after a url has been loaded.

void makeEditable(
  in boolean inWaitForUriLoad
);
Parameters
inWaitForUriLoad
true to wait for a URI before creating the editor.

Document Tags and Contributors

 Contributors to this page: Sheppy, Neil, trevorh
 Last updated by: Sheppy,