<toolbarSeparator> Element

This element will cause the appearance of a vertical separating line between toolbar elements in Ephox EditLive! for Java.  

Note:  This element has no attributes or child elements.

Element Tree Structure

<editLiveForJava>
    <toolbars>
        <formatToolbar> OR <commandToolbar>
            <toolbarSeparator>

<editLiveForJava>
     ...
     <toolbars>
          <formatToolbar> OR <commandToolbar>*
               <toolbarSeparator/>
          </formatToolbar> OR </commandToolbar>*
     </toolbars>
     ...
</editLiveForJava>

*Note:  The <toolbarSeparator> element can exist within either the <formatToolbar> element or the <commandToolbar> element.  Closing tags should be matched to opening tags (ie. <formatToolbar> ... </formatToolbar>).

Example

The following example demonstrates how to insert a toolbar separator between the Paste and Find buttons on the Command Toolbar.

<editLiveForJava>
    ...
    <toolbars>
        <commandToolbar>
            <toolbarButton name="tlbCut"/>
            <toolbarButton name="tlbCopy"/>
            <toolbarButton name="tlbPaste"/>
            <toolbarSeparator/>
            <toolbarButton name="tlbFind"/>
        </commandToolbar>
    </toolbars>
    ...
</editLiveForJava>

Remarks

The <toolbarSeparator> element can appear multiple times within the <formatToolbar> or <commandToolbar> elements.

The <toolbarSeparator> 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:

    <toolbarSeparator/>

See Also