The text Element

The text element represents every kind of text to be shown. It can range from titles and texts to paragraphs.

{
    "type": "text",
    "tags": array<string>,
    "version": string,
    "content": string
}

The content Property

since v1.0.0

The content property holds a text that could contain HTML markup.

Possible values for tags

  • TITLE

Text with TITLE tag

Example of a possible look of a text element with the TITLE tag.

  • LEGAL

Text with LEGAL tag

Example of a possible look of a text element with the LEGAL tag.

  • QUOTE

  • LEGEND

  • LABEL

  • HELPTEXT

  • LIST

  • BOX_SUCCESS, BOX_INFO, BOX_WARNING, BOX_DANGER

Example

{
    "type":"text",
    "version":"1.0.0",
    "tags":[
        "TITLE"
    ],
    "content":"This is the <b>bold print</b> content including <code>HTML</code> markup.<br />It contains various interesting functionalities and thus supports a lot of <code>HTML</code>. <p>For example: <ul><li><code>ul</code></li><li><code>li</code></li></ul></p>"
}

Changelog


1.0.0 - 01.02.2019

  • initial version

results matching ""

    No results matching ""