Skip to content

Commit d9b37d0

Browse files
authored
Remove obsolete monaco workaround (#30893)
This workaround is not neccessary any more since monaco 0.35.0. Ref: microsoft/monaco-editor#2962 Ref: microsoft/vscode#173688
1 parent f1b0729 commit d9b37d0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Diff for: web_src/js/features/codeeditor.js

-4
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,6 @@ export async function createMonaco(textarea, filename, editorOpts) {
102102
},
103103
});
104104

105-
// Quick fix: https://github.com/microsoft/monaco-editor/issues/2962
106-
monaco.languages.register({id: 'vs.editor.nullLanguage'});
107-
monaco.languages.setLanguageConfiguration('vs.editor.nullLanguage', {});
108-
109105
const editor = monaco.editor.create(container, {
110106
value: textarea.value,
111107
theme: 'gitea',

0 commit comments

Comments
 (0)