modopedia:text
Description
Renders a body of formatted text, as well as any hover or click events it has. This component which should form the bulk of your books.
Screenshot
JSON Schema
ID | Type | Required | Default | Description |
---|---|---|---|---|
text | FString | ✓ | - | Text to be displayed. |
width | Integer | ✗ | * | Width at which lines of text will wrap. Defaults to the book's line width. |
line_height | String | ✗ | 9 | Spacing between lines of text. |
justify | * | ✗ | left | Margin text inside the box should be justified on. Can be left , center or right |