Basic Text
Plain single-block paragraph with explicit HTML tag control.
Type: "basicText". Use for simple single-block paragraphs with explicit HTML tag.
Props
| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
text | string (max 20000) | ✓ | "Tulis teks di sini..." | Plain text content |
tag | 'p'|'div'|'span'|'figcaption'|'address'|'figure' | ✓ | "p" | HTML wrapper tag |
link | string (URL, max 2000) | — | — | Wrap in <a> |
wordsLimit | integer (≥1) | — | — | Truncate to N words |
readMore | string (max 200) | — | — | "Read more →" suffix when truncated |
Example: intro paragraph
{
"id": "txt01abcd",
"type": "basicText",
"props": {
"text": "Alusio is a multitenant platform for creators and merchants. Build websites, sell products, and manage courses all in one place.",
"tag": "p"
}
}
Example: image caption
{
"id": "cap01efgh",
"type": "basicText",
"props": {
"text": "Photo: Alusio team at Jakarta HQ, 2024.",
"tag": "figcaption"
}
}
Example: truncated paragraph
{
"id": "txt02ijkl",
"type": "basicText",
"props": {
"text": "Lorem ipsum dolor sit amet consectetur adipisicing elit. Quae fuga magni quia voluptatibus enim asperiores...",
"tag": "p",
"wordsLimit": 20,
"readMore": "Read more →"
}
}
Tips
- For longer content with structure (headings, lists, inline links) → use Rich Text
- For titles → use Heading, not basicText with tag h2
tag: "address"for contact info (phone, email, physical address)