7.6.2.51. CodeEditor
A basic lazy loaded Code editor with hover help and completion.
Example
<React.Suspense fallback={<LoadingBox />}>
<CodeEditor
value={code}
language="yaml"
/>
</React.Suspense>
| Parameter Name | Description |
|---|---|
|
| String representing the yaml code to render. |
|
| String representing the language of the editor. |
|
| Monaco editor options. For more details, please, visit Interface IStandAloneEditorConstructionOptions. |
|
| Minimum editor height in valid CSS height values. |
|
| Boolean to show shortcuts on top of the editor. |
|
| Array of ReactNode rendered on the toolbar links section on top of the editor. |
|
| Callback for on code change event. |
|
| Callback called when the command CTRL / CMD + S is triggered. |
|
|
React reference to |