read only editor home

pull/5370/head
Aniket-Engg 3 years ago committed by yann300
parent c6887fed68
commit 0ee95960fc
  1. 2
      libs/remix-ui/editor/src/lib/remix-ui-editor.tsx

@ -432,7 +432,7 @@ export const EditorUI = (props: EditorUIProps) => {
language={editorModelsState[props.currentFile] ? editorModelsState[props.currentFile].language : 'text'}
onMount={handleEditorDidMount}
beforeMount={handleEditorWillMount}
options={{ glyphMargin: true }}
options={{ glyphMargin: true, readOnly: true }}
defaultValue={defaultEditorValue}
/>
<div className="contextview">

Loading…
Cancel
Save