Elements in a menuitems section in BehaviorConfig.xml
A menuitems section specifies custom (top) menu items.
menuitems-
The element that can be used to add additional menu items to the Custom tab. You can insert a
menuitemschild element within the following behavior elements:definitiontablelistimageinlinehighlightingblocktitlesheetbody
menuitem-
The element that defines an additional menu item. It can contain the following child elements:
- a required
labelchild element - either an
inserttemplateor atoggletemplatechild element
- a required
label- The label of the menu item.
inserttemplate-
Use this element to specify a certain XML structure (provided within the
inserttemplateelement), to inserted below the current element or below the ancestor element specified in thexpathattribute of themenuitemelement. toggletemplate-
Use
toggletemplateto insert the specified XML element if no text is selected or to wrap or unwrap the currently selected text within the specified element.