This element defines command items for the shortcut menu within Ephox EditLive! for Java.
<editLiveForJava>
<shortcutMenu>
<shrtMenu>
<shrtMenuItem>
<editLiveForJava> <shortcutMenu> <shrtMenu> <shrtMenuItem ... /> </shrtMenu> </shortcutMenu> </editLiveForJava> |
Attribute | Description |
name | This attribute gives the name for the shortcut menu
command. It must be one of the following:
|
The following example configures the Shortcut Menu of EditLive! for Java so that it contains the Cut, Copy, Paste, Select All, Image Properties..., Table Properties..., Cell Properties and Hyperlink Properties... commands and the Style submenu.
<editLiveForJava>
...
<shortcutMenu>
<shrtMenu>
<shrtMenuItem
name="shrtCut" />
<shrtMenuItem
name="shrtCopy" />
<shrtMenuItem
name="shrtPaste" />
<shrtMenuItem
name="shrtSelectAll" />
<shrtMenuItem
name="shrtPropImage" />
<shrtMenuItem
name="shrtPropTable" />
<shrtMenuItem
name="shrtPropCell" />
<shrtMenuItem
name="shrtHyperlink" />
<shrtMenuItem
name="shrtStyle" />
</shrtMenu>
</shortcutMenu>
</editLiveForJava>
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=... />
Copyright © 2001-2004 Ephox Corporation. All Rights Reserved.