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


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

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

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

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

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

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

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

LAYOUT :Granite.author.ui.ToolbarAction

Represents the LAYOUT action

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

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

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

STYLE :Granite.author.ui.ToolbarAction

Represents the STYLE action (opens a style selector popover relative to the toolbar of the selected editable) that could be performed on the current Granite.author.Editable

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