Our most used and most flexible content tag. This element allows rich text editing while maintaining developer control.
Basic Usage
<sf-text id=":1"></sf-text>
Example output:
<h1>Heading</h1>
<p>Some paragraph text here.</p>
Conditional Element Inclusion
Users can restrict available formatting options through the include attribute, limiting choices to specific elements.
<sf-text id=":1" include="p,h1,h2,h3,h4,h5,bold,italic,link,align,bullet,number"></sf-text>
Attributes
Attribute | Description |
| Comma-separated list of permitted elements |
| Sets default content |
Available Elements
The tag supports 14 formatting options:
p- Paragraphsh1- Heading 1h2- Heading 2h3- Heading 3h4- Heading 4h5- Heading 5bold- Bold textitalic- Italic textlink- Linksalign- Text alignmentbullet- Bullet listsnumber- Numbered lists
