Code
Allows you to display HTML editor controls for your widget.
Widget Configuration Output
User Interface Output

JSON Schema
Allows you to display HTML editor controls for your widget.
Widget Configuration Output
{ "html": "<div>html code can go here</div>" }
User Interface Output

JSON Schema
| Property | Type | Description | Example |
|---|---|---|---|
id | string | The variable name where the setting value will be available in the widget template. | ”htmlCode” |
label | string | The user friendly message to inform the user how this setting will be used. | ”HTML Code” |
default | string | The default value to use when rendering the widget for the first time. | ” html code can go here ” |
type | string | The type of setting component to display. | ”code” |
typeMeta | object | Additional information needed based on the selected setting type. | |
typeMeta.language | string | Language used in the code editor. | ”html” |
typeMeta.placeholder | string | Placeholder text in the text editor. | ”Insert HTML code here” |