mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00: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
This commit is contained in:
		| @@ -102,10 +102,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, { |   const editor = monaco.editor.create(container, { | ||||||
|     value: textarea.value, |     value: textarea.value, | ||||||
|     theme: 'gitea', |     theme: 'gitea', | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 silverwind
					silverwind