Skip to content

Commit

Permalink
fix(Editor): revert css nesting workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
hatemhosny committed Mar 4, 2024
1 parent e01315e commit 66bd226
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/livecodes/editor/monaco/monaco.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ export const createEditor = async (options: EditorOptions): Promise<CodeEditor>
? 'coffeescript'
: ['rescript', 'reason', 'ocaml'].includes(language)
? 'csharp'
: language === 'css' // till css nesting is supported (https://github.com/microsoft/monaco-editor/issues/4071)
? 'scss'
: mapLanguage(language);

const monacoPath = baseUrl + 'vendor/monaco-editor/' + process.env.monacoVersion;
Expand Down

0 comments on commit 66bd226

Please sign in to comment.