Concept

The author does not edit the content in a plain old text format.

In the Editor, he is presented with elements like paragraphs, list, images, etc that help him create semantically precise content.

The designer decides what properties are available for each element, and what values these properties can be set to.

The author can assign values to the properties of the elements.

Most elements have a "type" property, that is not required, but recommended because this is a good start to define what the element means.

For example, the text element "type" property could be set to "paragraph", "primary title", "secondary title", etc.

Additionally, he can define some rules to group properties, make a property unavailable when another one is set to some value, etc.

Make sure to watch the "templates" demo !