Edit Actions

Version 2.1 by Guillaume Delhumeau on 2015/10/14

Adds an item in the "edit" menu

Usage

The extension point adds the content inside the edit menu.

Definition

This Extension Point is contributed by this extension and was added in version 7.3M2 of that extension.

Category
Content menus
Extension Id
org.xwiki.plaftorm.editactions
Content to be provided
No content is expected to be provided by the user of this Extension Point.
Parameters to be provided
  • order: the order in which the item will be displayed. The lower the number is, the more on the top the item is. Examples of correct orders: 10000, 20000. Please let enough room to add other UIX between existing ones and your own. The current items (even if some of them are not really implemented as UI extensions) have these orders:
    Default Edit action10000
    WYSIWYG editor20000
    Wiki Editor30000
    Inline Form40000
    Rights50000
    Object60000
    Class70000

Example

{{velocity}}{{html clean="false"}} ## we need clean="false" because we want to display the raw content of #menuitem()
 #template('drawer_macros.vm')
 #submenuitem('url', 'title', 'id', 'class', 'icon')
{{/html}}{{/velocity}}

Get Connected