RichText - sh:richtext
Howto get started with Smarthtml.
Description
Directive allows externalizing rich text sections from a template. Texts could be edited in editor forms and kept separate
Editor options
The editor allows you to edit rich text
Usage
Given HTML
<div sh:richtext="content">
<p>Lorem ipsum </p>
</div>
When entered in editor text
Text paragraph
Then produced html will have div inner text replaced
And sh:richtext
attribute will be removed
<div sh:richtext="content">
<p>Text paragraph </p>
</div>