Skip to content

Commit

Permalink
fix misc issues
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodingwizard committed Feb 10, 2024
1 parent ca4b859 commit 308267c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,4 +281,7 @@ If `firebase emulators:exec` fails for unknown reason, try running `firebase emu

3. `npx patch-package monaco-editor`
4. Commit the updated patch to Github
5. Test that everything works: LSP, browser sync, cross-platform sync, etc
5. `rm -r ./public/monaco-workers`
6. `mkdir ./public/monaco-workers`
7. `cp -r ./node_modules/monaco-editor-workers/dist/workers/editorWorker* ./public/monaco-workers`
8. Test that everything works: LSP, browser sync, cross-platform sync, etc
2 changes: 1 addition & 1 deletion src/components/editor/MonacoEditor/MonacoEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default function MonacoEditor({
automaticLayout: true,
theme: theme,
lightbulb: {
enabled: true,
enabled: monaco.editor.ShowLightbulbIconMode.OnCode,
},
language: language,
...options,
Expand Down

0 comments on commit 308267c

Please sign in to comment.