Page tree
Skip to end of metadata
Go to start of metadata

This element defines command items for the shortcut menu within Ephox EditLive!.

Configuration Element Tree Structure

<editLive>
<shortcutMenu>
<shrtMenu>
<shrtMenuItem>

<editLive>
     ...
     <shortcutMenu>
          <shrtMenu>
               <shrtMenuItem ... />
          </shrtMenu>
     </shortcutMenu>
     ...
</editLive>

Required Attributes

name

This attribute gives the name for the menu item. This name must be from the Menu and Toolbar Item List.

Example

The following example configures the Shortcut Menu of EditLive! so that it contains the Cut, Copy, Paste, Select All, Image Properties..., Table Properties..., Cell Properties, and Hyperlink Properties... commands.

<editLive>
    ...
    <shortcutMenu>
        <shrtMenu>
            <shrtMenuItem name="Cut" />
            <shrtMenuItem name="Copy" />
            <shrtMenuItem name="Paste" />
            <shrtMenuItem name="SelectAll" />
            <shrtMenuItem name="PropImage" />
            <shrtMenuItem name="PropTable" />
            <shrtMenuItem name="PropCell" />
            <shrtMenuItem name="Hyperlink" />
        </shrtMenu>
    </shortcutMenu>    
</editLive> 

Remarks

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

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

<shrtMenuItem name=... />
  • No labels