eZ.AlloyEditorButton.ButtonEmbedAlign Class
Mixin providing the base to implement the embed align buttons.
Item Index
Methods
Methods
_getWidget
()
Returns the ezembed widget instance for the current selection.
Returns:
CKEDITOR.plugins.widget
applyStyle
()
Applies or un-applies the alignment on the currently focused embed element.
isActive
()
Boolean
Checks if the configured alignment is active on the focused embed element.
Returns:
Boolean:
Properties
alignment
String
The alignment to apply ('center', 'left' or 'right')
classIcon
String
The suffix of the class to use icon to set the button icon
editor
Object
The editor instance where the component is being used.
label
String
deprecated
The label that should be used for accessibility purposes. This
property is deprecated, while using ButtonEmbedAlign, you should
implement a _getLabel
method instead.
tabIndex
Number
The tabIndex of the button in its toolbar current state. A value other than -1 means that the button has focus and is the active element.