Text Box

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

modopedia:page_components/text

JSON Schema

IDTypeRequiredDefaultDescription
textFString✓-Text to be displayed.
widthInteger✗*Width at which lines of text will wrap. Defaults to the book's line width.
line_heightString✗9Spacing between lines of text.
justify*✗leftMargin text inside the box should be justified on. Can be left, center or right