<shrtMenuSeparator> Configuration Element

This element places a horizontal separating line between commands within the Ephox EditLive! for XML shortcut menu. This line will appear between the commands defined by the <shrtMenuItem> elements immediately before and after the <shrtMenuSeparator> element.

Note

This element has no attributes or child elements.

Configuration Element Tree Structure

<editLive>
     ...
     <shortcutMenu>
          <shrtMenu>
               <shrtMenuSeparator/>
          </shrtMenu>
     </shortcutMenu>
     ...
</editLive>

Examples

The following example places a shortcut menu separator between the Paste and the Select All commands in the EditLive! for XML shortcut menu.

<editLive>
    ...
    <shortcutMenu>
        <shrtMenu>
            <shrtMenuItem name="Cut" />
            <shrtMenuItem name="Copy" />
            <shrtMenuItem name="Paste" />
            <shrtMenuSeparator/>
            <shrtMenuItem name="SelectAll" />
        </shrtMenu>
    </shortcutMenu>
</editLive> 

Remarks

The <shrtMenuSeparator> element can appear multiple times within the <shrtMenu> element.

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

<shrtMenuSeparator />