Настройка monaco editor на использование отступов в 2 пробела в редакторе дашборда
This commit is contained in:
parent
f2e0bd7f47
commit
5cb3df078f
1 changed files with 1 additions and 0 deletions
|
|
@ -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 }}
|
||||
></MonacoEditor>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue