Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/gridaco/designto-code into …
Browse files Browse the repository at this point in the history
…staging
  • Loading branch information
softmarshmallow committed Dec 31, 2021
2 parents cda1bd2 + 7a780e8 commit 5a29568
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion editor/components/code-editor/monaco.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ export function MonacoEditor(props: MonacoEditorProps) {
loading={<MonacoEmptyMock />}
defaultValue={props.defaultValue ?? "// no content"}
theme="vs-dark"
options={{ ...props.options }}
options={{
...props.options,
// overrided default options
unusualLineTerminators: "off",
}}
/>
);
}
Expand Down

0 comments on commit 5a29568

Please sign in to comment.