pull/1856/head
yann300 3 years ago
parent 9c8b145133
commit 14636a7815
  1. 16
      libs/remix-ui/editor/src/lib/remix-ui-editor.tsx

@ -381,14 +381,14 @@ export const EditorUI = (props: EditorUIProps) => {
return (
<div className="w-100 h-100 d-flex flex-column">
<Editor
width="100%"
path={props.currentFile}
language={editorModelsState[props.currentFile] ? editorModelsState[props.currentFile].language : 'text'}
onMount={handleEditorDidMount}
beforeMount={handleEditorWillMount}
options={{ glyphMargin: true }}
/>
<Editor
width="100%"
path={props.currentFile}
language={editorModelsState[props.currentFile] ? editorModelsState[props.currentFile].language : 'text'}
onMount={handleEditorDidMount}
beforeMount={handleEditorWillMount}
options={{ glyphMargin: true }}
/>
<div className="contextview">
<RemixUiEditorContextView
hide={false}

Loading…
Cancel
Save