Plain text - sh:text
Howto get started with Smarthtml.
Description
Directive allows externalizing text definitions from template. Texts could be edited in editor forms and kept separate
Editor options
The editor allows you to edit plain text
Usage
Given HTML
<h1 sh:text="header"> Template sample header </h1>
When entered in editor text
Tutorial
Then produced html will have h1 inner text replaced
And sh:text
attribute will be removed
<h1>Tutorial</h1>