refactor: reuse CodeMirror for CSS editors

This commit is contained in:
ajnart committed 2026-08-31 14:01:43 +02:00
1 parent e617a47395
commit dc7a8579dc
12 files changed
+76 -331

No files matched your search

@@ -54,6 +54,7 @@ export function CodeEditorToolbar({
</Text>
</Group>
<Group gap={6}>
{props.actions}
{!props.readOnly && (
<>
<Button
@@ -57,4 +57,5 @@ export interface CustomWidgetCodeEditorProps {
readOnly?: boolean;
reference?: CustomWidgetSchemaReferenceData;
height?: string;
actions?: ReactNode;
}