CodeEditor: added support for javascript language (#28818)

This commit is contained in:
ae3e 2020-11-09 10:37:06 +01:00 committed by GitHub
parent 62510a3f42
commit aa8d07f567
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,7 @@ module.exports = {
new MonacoWebpackPlugin({
// available options are documented at https://github.com/Microsoft/monaco-editor-webpack-plugin#options
filename: 'monaco-[name].worker.js',
languages: ['json', 'markdown', 'html', 'sql', 'mysql', 'pgsql'],
languages: ['json', 'markdown', 'html', 'sql', 'mysql', 'pgsql', 'javascript'],
features: [
'!accessibilityHelp',
'bracketMatching',