Built-In Property Editors

Following is a list of built-in property editors available and their value formats.

Text Input

700

Widget

text

Default Value

String

Rich Text Input

776

Widget

rich_text

Default Value

String

HTML Input

730

Widget

html

Default Value

String

Color Picker

706

Widget

color_picker

Default Value

String

Valid Values

  • HEX Format #FFF000
  • RGB Format rgba(0,0,0,0.5)

Text Alignment

690

Widget

alignment

Default Value

String

Valid Values

  • left
  • center
  • right

Font Family

664

Widget

font_family

Default Value

JSON

Valid Value

{
  label: 'Arial',
  value: 'arial,helvetica,sans-serif'
}

Border

698

Widget

border

Default Value

JSON

Valid Value

{
  borderTopWidth: "0px",
  borderTopStyle: "solid",
  borderTopColor: "#CCC",
  borderLeftWidth: "0px",
  borderLeftStyle: "solid",
  borderLeftColor: "#CCC",
  borderRightWidth: "0px",
  borderRightStyle: "solid",
  borderRightColor: "#CCC",
  borderBottomWidth: "0px",
  borderBottomStyle: "solid",
  borderBottomColor: "#CCC"
}

Counter

348

Widget

counter

Default Value

String

Example Values

10 25 50 etc


Image Uploader

702

Widget

image

Default Value

JSON

Valid Value

{
  url: "http://via.placeholder.com/350x150"
}

Toggle

390

Widget

toggle

Default Value

Boolean

Valid Values

  • true
  • false

Link

408

Widget

link

Default Value

JSON

Valid Values

{
  name: 'web',
  values: {
    href: 'http://google.com',
    target: '_blank'
  }
}

Return Value

{
  url: 'http://google.com',
  target: '_blank'
}

Dropdown

710

Widget

dropdown

Dropdown Options

The dropdown editor needs options to be passed as data. Learn more at: Passing Data to Property Editors


Date / Time

614

Widget

datetime

Default Value

String

Widget Params

hideTime (boolean)
hideCalendar (boolean)
format (string)

Custom Editors

If you want to build a custom property editor for advanced use cases, you can do that with our JavaScript API.


What’s Next