mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-29 15:43:58 +01:00
Remove obsolete monaco workaround (#30893)
This workaround is not neccessary any more since monaco 0.35.0. Ref: https://github.com/microsoft/monaco-editor/issues/2962 Ref: https://github.com/microsoft/vscode/pull/173688 (cherry picked from commit d9b37d085acb7e93409061e541b6a3aa53261bb0)
This commit is contained in:
parent
7028fe0b4d
commit
12b6bcaf05
1 changed files with 0 additions and 4 deletions
|
@ -101,10 +101,6 @@ export async function createMonaco(textarea, filename, editorOpts) {
|
|||
},
|
||||
});
|
||||
|
||||
// Quick fix: https://github.com/microsoft/monaco-editor/issues/2962
|
||||
monaco.languages.register({id: 'vs.editor.nullLanguage'});
|
||||
monaco.languages.setLanguageConfiguration('vs.editor.nullLanguage', {});
|
||||
|
||||
const editor = monaco.editor.create(container, {
|
||||
value: textarea.value,
|
||||
theme: 'gitea',
|
||||
|
|
Loading…
Reference in a new issue