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",
  value: "<h1>Hello world!</h1>",
  height: 120,
  center: true,
}

Options

Output

Use these options when using the field with make.

label?
string
A label describing the purpose of the field.
value?
string
The HTML content to display, if no url is given.
height?
number
The height of the content, in pixels.
center?
boolean
Align the body content to the vertical and horizontal center of the field.