<toolbarComboBox> Element

This element will cause a particular combo box to be present on the toolbar within Ephox EditLive! for Java.

Element Tree Structure

<editLive>
     ...
     <toolbars>
          <toolbar>
               <toolbarComboBox ... >
                    <!--toolbar combo box configuration settings-->
               </toolbarComboBox>
          </toolbar>
     </toolbars>
     ...
</editLive>

Required Attributes

name

This attribute gives the name for the toolbar combobox item. A list of possible item names can be found in the Toolbar Combobox Items section in the Customizing the EditLive! for Java Interface section of the SDK.

Child Elements

<comboBoxItem>

This element contains the information required by EditLive! for Java to configure an item within one of the EditLive! for Java combo boxes.

Example

The following example demonstrates how to add the Style combo box to the Format Toolbar.

<editLive>
    ...
    <toolbars>
        <toolbar name="format">
            <toolbarComboBox name="Style">
                ...
            </toolbarComboBox>
        </toolbar>
    </toolbars>
    ...
</editLive> 

Remarks

The <toolbarComboBox> element can appear multiple times within the <toolbar> element.

See Also