CodeEditor
The CodeEditor provides a text input field that is specifically designed for editing code. It further offers properties to configure e.g. syntax highlighting, spell checks or line wrapping. Once the editor is focused via the keyboard, the user must press Enter to start editing and Escape to quit editing and return to the keyboard navigation flow.
Behavior tracking attributes
Strato sets these data-dt-* attributes on the DOM elements of the component, so that Real User Monitoring can track user interactions. They cannot be changed by the consuming application.CodeEditor
Attribute Value data-dt-componentCodeEditorErrorFallback
Attribute Value data-dt-children-nameResetEditorActionsMenu
Attribute Value data-dt-children-nameOpenActionsMenudata-dt-ancestor`#${editorRootId}`data-dt-children-nameDownloadOffScreenDiagnosticIndicators
Attribute Value data-dt-children-nameScrollToErrorAbovedata-dt-children-nameScrollToErrorBelowCopyButton
Attribute Value data-dt-children-nameCopy