Global

Members


workspace

The workspace that corresponds to the currently opened tab.

Methods


createSelectionAroundOffsets(startOffset, opt_endOffset, opt_anchorOffset, opt_focusOffset)

Parameters:
Name Type Description
startOffset number The start offset.
opt_endOffset number The end offset. Exclusive offset.
opt_anchorOffset number The anchor offset.
opt_focusOffset number The focus offset.
Returns:
The selection on text.
Type
SelectionCore

editorChanged()


getIcon()


getTitle()


getToolbarActionsMap()


getToolbarDescriptor()


install()


opened()


refreshNodes(href)

Refresh all nodes that have the given href.
Parameters:
Name Type Description
href string Href to find the nodes to refresh. If null all nodes will be refreshed.
Since:
  • 27.0

supportsEditor()

Type Definitions


LoadedDocument

Properties:
Name Type Argument Description
contentType string The MIME type of the document.
document string <optional>
The content of the document, for documents with a text/* MIME type.