This element specifies an item to include within a menu in EditLive!.
Configuration Element Tree Structure
In <submenu> items this attribute provides the value of the attribute. It should correspond to the name or size of the relevant font or the value for the style. The value used for this attribute will be inserted into the HTML source of the document when the submenu item is selected.
This attribute customizes the menu command text.
This attribute changes the image associated with a menu item.
You can also explicitly set mnemonics and shortcuts for this element using the Mnemonic and Shortcut Attributes.
The following example demonstrates how to add the mnuUndo, mnuRedo, mnuCut, mnuPaste, mnuSelectAll, and mnuFind items to the Edit menu. Thus the instance of EditLive! using this configuration will have only an Edit menu with these items.
The following example demonstrates how to add the Times New Roman, Courier New, and Arial fonts to the mnuFontFace <submenu>. They will be listed as the New Roman, Courier, and Company Default fonts respectively in the submenu due to their text attributes.
The <menuItem> element can appear multiple times within the <menu> element.
The <menuItem> 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:
- <submenu> Configuration File Element