CodeEditor
Container properties
All component configurations support Container properties at the first level.
Component properties
| Name | Type | Default | Supports Variable Pattern | Description |
|---|---|---|---|---|
| className | string | ✔️ | component's className | |
| style | object | component style | ||
| language | string | editor language, language that supports monaco editor |
All the remaining componentsProps will be passed to the component root element (div).
JS API
The interface obtained through formApi.getFieldApi() is as follows:
| Name | Type | Description |
|---|---|---|
| node | HTML Element | The root DOM element of the component |
| editor | () => object | Monaco Editor's editor instance object, Official documentation |