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.

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))