Name | Type | Default | Description |
---|---|---|---|
className | string | CSS classes to add on the editor | |
collapsibleId | string | If rendered inside a Collapsible component, you need to specify the collapsible id otherwise the editor might not be showing its content properly | |
containerClasses | string[] | CSS classes to add on the container element | |
defaultValue | string | initial value of the component | |
errorMessage | string | Error to display when there is an error parsing the JSON | |
id | string | The unique identifier that will be used to retrieve the value from the PlasmaState | |
onChange | (json: string, inError: boolean) => void | A callback function executed when the content of the editor changes
| |
options | EditorConfiguration | Additional editor options | |
readOnly | boolean | When true, the content of the editor will not be editable | |
value | string | The text value of the JSON editor |
No guidelines exist for JSONEditorConnected yet.