diff --git a/editor/components/code-editor/monaco.tsx b/editor/components/code-editor/monaco.tsx index 92538629..7030a3bf 100644 --- a/editor/components/code-editor/monaco.tsx +++ b/editor/components/code-editor/monaco.tsx @@ -30,7 +30,11 @@ export function MonacoEditor(props: MonacoEditorProps) { loading={} defaultValue={props.defaultValue ?? "// no content"} theme="vs-dark" - options={{ ...props.options }} + options={{ + ...props.options, + // overrided default options + unusualLineTerminators: "off", + }} /> ); }