Magnolia 5.3 reached end of life on June 30, 2017. This branch is no longer supported, see End-of-life policy.

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

Editor is a component that edits a content item. The editor typically contains a form. In a content app, you should create an editor definition under the detail subapp. Define the node types the editor edits, a form for editing them, and actions for saving the edit.

Node nameValue

 detail

 

 editor

 

 nodeType

 

 icon

icon-items

 name

mgnl:contact

 actions

 

 form

 

Properties:

  • editor
    • nodeType: Node type that the editor can edit and save.
      • icon: CSS class that identifies an icon displayed on the items in the workbench.
      • name: A Magnolia or JCR node type such as mgnl:page or mgnl:contact.
    • actions: Actions available in the editor. Typically you need at least Save and Cancel. Define the actions in a separate actions definition and reference them by name.
    • form: Form definition.
    • contentConnector : Defines where the edited content resides.