Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the context of the content editor app, each item (e.g. a story in the stories-app) is a   composition  of N  blocks of editable content, such as  <hx> headings and  <p>  paragraphs, complemented by meta information such as the required fields for a  lead text and a  title of the story:


Anchor
node-types
node-types

Required node types

The content editor UI expects nodes of the type mgnl:composition and mgnl:block. These node types are defined in the file content-editor-nodetypes.xml which resides in the magnolia-content-editor submodule. 

...

  • the stories workspace provided by the stories-app module,  
  • the articles workspace provided by the article-editor module,  
  • or a custom workspace defined by your custom module.
Hide block
Excerpt

Multilingual content

Currently, the Content editor and the Stories app don't support the use of multi-language content in the way you can enable i18n for fields. This feature is now under development. As a temporary workaround though you can a folder structure based on languages as follows



Defining a custom content editor app

Developing a custom content editor app is similar to creating a content app because it is also based on the info.magnolia.ui.contentapp.ContentApp app class.

...