nsIEditorDocShell 编辑
docshell/base/nsIEditorDocShell.idl
Scriptable 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.7Use 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 |
| 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 theeditor
.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论