EditorFrame module responsible for the content of the editor page by opposition to the edited content and hosted by the Granite.author.ContentFrame
The EditorFrame lives in the current Document and contains the content of the edited page in the ContentFrame iframe
Initialized by Granite.author.init
- Source:
- EditorFrame.js
Members
-
$doc :jQuery
-
The document as a jQuery object
Type:
- jQuery
- Source:
- EditorFrame.js
-
container :jQuery
-
Container for the content of the edited page and what lives close to it
Type:
- jQuery
- Source:
- EditorFrame.js
-
editableToolbar :jQuery
-
The single instance of Toolbar to act upon Editables and instantiated via the currently active Layer
Type:
- jQuery
- Source:
- EditorFrame.js
- See:
Methods
-
init()
-
Initializes the EditorFrame with different event bindings
- Binds to the page state changes (Does not include hash changes)
- Listens to Document#event:cq-content-frame-loaded to update the content of the EditorFrame accordingly
- Source:
- EditorFrame.js