This element will cause a particular button to be present on the toolbar within Ephox EditLive! for Java.
<editLiveForJava>
<toolbars>
<formatToolbar>
OR <commandToolbar>
<toolbarButton>
<editLiveForJava> ... <toolbars> <formatToolbar> OR <commandToolbar>* <toolbarButton ... /> </formatToolbar> OR </commandToolbar>* </toolbars> ... </editLiveForJava> |
*Note: The <toolbarButton> element can exist within either the <formatToolbar> element or the <commandToolbar> element. Closing tags should be matched to opening tags (ie. <formatToolbar> ... </formatToolbar>).
Attribute | Description |
name | This attribute gives the name for the button. It
must be one of the following:
|
The following example demonstrates how to add the Cut, Copy and Paste buttons to the Command Toolbar.
<editLiveForJava>
...
<toolbars>
<commandToolbar>
<toolbarButton
name="tblCut"/>
<toolbarButton
name="tblCopy"/>
<toolbarButton
name="tblPaste"/>
</commandToolbar>
</toolbars>
...
</editLiveForJava>
The <toolbarButton> element can appear multiple times within the <formatToolbar> or <commandToolbar> elements.
The <toolbarButton> element must be a complete tag, it cannot contain a tag body. Therefore the tag must be closed in the same line. See the example below:
<toolbarButton name=... />
Copyright © 2001-2004 Ephox Corporation. All Rights Reserved.