Namespace: ToolbarActions

Granite.author.edit. ToolbarActions

Namespace for the Granite.author.ui.ToolbarActions defined in the Granite.author.edit.Layer
Those actions are leveraging the lower-level Granite.author.edit.EditableActions

Source:
edit/ToolbarActions/edit.ToolbarActions.js

Members


<static> CONFIGURE :Granite.author.ui.ToolbarAction

Represents the CONFIGURE action (opens a component Dialog) that could be performed on an Granite.author.Editable

Type:
Source:
edit/ToolbarActions/edit.ToolbarActions.CONFIGURE.js

<static> COPY :Granite.author.ui.ToolbarAction

Represents the COPY action (saves the selected editable(s) to the Granite.author.clipboard) that could be performed on the current Granite.author.selection of Granite.author.Editables
Works across pages as Granite.author.Editables are stored in the localStorage

Type:
Source:
edit/ToolbarActions/edit.ToolbarActions.COPY.js

<static> CUT :Granite.author.ui.ToolbarAction

Represents the CUT action (cuts the selected editable(s) and save them in the Granite.author.clipboard) that could be performed on the current Granite.author.selection of Granite.author.Editables
Works across pages as editables are stored in the localStorage
The actual "cut" operation will only be completed via a following Granite.author.edit.ToolbarAction.PASTE

Type:
Source:
edit/ToolbarActions/edit.ToolbarActions.CUT.js

<static> DELETE :Granite.author.ui.ToolbarAction

Represents the DELETE action that could be performed on the current Granite.author.selection of Granite.author.Editables

Type:
Source:
edit/ToolbarActions/edit.ToolbarActions.DELETE.js

<static> EDIT :Granite.author.ui.ToolbarAction

Represents the EDIT action (launches in-place editor, like Granite.author.editor.InlineTextEditor, Granite.author.editor.ImageEditor) that could be performed on the current Granite.author.Editable
EDIT really means "in-place editing"; to edit properties of an editable, see Granite.author.edit.ToolbarActions.CONFIGURE

Type:
Source:
edit/ToolbarActions/edit.ToolbarActions.EDIT.js

<static> GROUP :Granite.author.ui.ToolbarAction

Represents the GROUP action (enters multiselection mode to select multiple editables) that could be performed on the current Granite.author.Editable
The grouped editables could be then found via Granite.author.selection

Type:
Source:
edit/ToolbarActions/edit.ToolbarActions.GROUP.js

<static> INSERT :Granite.author.ui.ToolbarAction

Represents the INSERT action (opens the insert component dialog relative to the container of the selected editable) that could be performed on the current Granite.author.Editable

Type:
Source:
edit/ToolbarActions/edit.ToolbarActions.INSERT.js

<static> PARENT :Granite.author.ui.ToolbarAction

Represents the PARENT action (opens the "select parent" popover or directly selects the parent if there is only one) that could be performed on the current Granite.author.Editable

Type:
Source:
edit/ToolbarActions/edit.ToolbarActions.PARENT.js

<static> PASTE :Granite.author.ui.ToolbarAction

Represents the PASTE action (inserts the editable(s) from the Granite.author.clipboard to the selected place) that could be performed on the current Granite.author.Editable

Type:
Source:
edit/ToolbarActions/edit.ToolbarActions.PASTE.js