File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
mystbin/frontend/components Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 1- import loader from '@monaco-editor/loader' ;
21import {
32 monaco ,
43 ControlledEditor ,
76import { PropsWithoutRef } from "react" ;
87
98
10- loader . config ( { monaco } )
11-
12- loader . init ( ) . then ( ( monaco ) => {
9+ monaco . init ( ) . then ( ( monaco ) => {
1310 // MystBin Dark
1411 monaco . editor . defineTheme ( "mystBinDark" , {
1512 base : "vs-dark" ,
@@ -96,12 +93,12 @@ export default function MonacoEditor(
9693 language = { language }
9794 options = { {
9895 contextmenu : true ,
99- suggest : false ,
96+ suggest : { } ,
10097 quickSuggestions : false ,
10198 minimap : { enabled : false } ,
10299 readOnly : readOnly ,
103- lineDecorationsWidth : "0" ,
104- lineNumbersMinChars : "2" ,
100+ lineDecorationsWidth : 0 ,
101+ lineNumbersMinChars : 2 ,
105102 } }
106103 />
107104 ) ;
You can’t perform that action at this time.
0 commit comments