From 5ec0c1d99e8ce24c6ff1b91625e5b290c5830c29 Mon Sep 17 00:00:00 2001 From: Pavel Gnedov Date: Wed, 15 Nov 2023 08:23:12 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B0=D1=81=D1=82=D1=80=D0=BE=D0=B9?= =?UTF-8?q?=D0=BA=D0=B0=20monaco=20editor=20=D0=BD=D0=B0=20=D0=B8=D1=81?= =?UTF-8?q?=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20=D0=BE=D1=82=D1=81=D1=82=D1=83=D0=BF=D0=BE=D0=B2=20?= =?UTF-8?q?=D0=B2=202=20=D0=BF=D1=80=D0=BE=D0=B1=D0=B5=D0=BB=D0=B0=20?= =?UTF-8?q?=D0=B2=20=D1=80=D0=B5=D0=B4=D0=B0=D0=BA=D1=82=D0=BE=D1=80=D0=B5?= =?UTF-8?q?=20=D0=B4=D0=B0=D1=88=D0=B1=D0=BE=D1=80=D0=B4=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/dashboard/editor.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/dashboard/editor.tsx b/frontend/src/dashboard/editor.tsx index c2953d5..ade5a18 100644 --- a/frontend/src/dashboard/editor.tsx +++ b/frontend/src/dashboard/editor.tsx @@ -113,6 +113,7 @@ export const Editor = observer((props: Props): JSX.Element => { defaultValue={editorValue} value={editorValue} onChange={(value) => setEditorValue(value || '')} + options={{ tabSize: 2, detectIndentation: true }} >