eZ.AlloyEditorToolbarConfig.Embed Class
styles toolbar configuration for embed. The embed toolbar is
supposed to be shown when the user gives the focus to an ezembed widget
Item Index
Methods
Methods
getArrowBoxClasses
()
String
Returns the arrow box classes for the toolbar. The toolbar is always positioned above its related block and has a special class to move its tail on the left.
Returns:
String:
setPosition
(
Boolean
-
payload
Sets the position of the toolbar. It overrides the default styles toolbar positioning to position the toolbar just above its related block element. The related block element is the block indicated in CKEditor's path or the target of the editorEvent event.
Parameters:
-
payloadObject-
editorAlloyEditor.Core -
selectionDataObject -
editorEventObject
-
Returns:
Boolean:
true if the method was able to position the toolbar
test
(
Boolean
-
payload
Tests whether the embed toolbar should be visible, it is visible
when an ezembed widget gets the focus.
Parameters:
-
payloadObject-
editorAlloyEditor.Core -
dataObject-
selectionDataObject -
nativeEventEvent
-
-
Returns:
Boolean:
