pull/5370/head
yann300 3 years ago
parent d92ff59b1b
commit 628aac0778
  1. 16
      libs/remix-ui/editor/src/lib/remix-ui-editor.tsx

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

Loading…
Cancel
Save