HTML
The HTML field can be used to display any content, with the ability to run scripts in a protected sandbox.
Example
({
type: "html",
label: "HTML",
html: "<h1>Hello world!</h1>",
height: 120,
center: true,
})
Options
Output
Use these options when using the field with make
.
label? | A label describing the purpose of the field. |
url? | A URL pointing to the content to display. Alternatively, you can display arbitrary HTML using the html property. |
html? | The HTML content to display, if no url is given. |
height? | The height of the content, in pixels. |
center? | Align the body content to the vertical and horizontal center of the field. |