For reference for anyone else who needs a newer version of monaco-editor before this gets merged, you can force the use of a specific version like this:
import loader from '@monaco-editor/loader';
// Or, if using @monaco-editor/react, use the following import:
import { loader } from '@monaco-editor/react';
loader.config({
paths: { vs: 'https://cdn.jsdelivr.net/npm/monaco-editor@0.35.0/min/vs' },
});
@MaxMusing , thank you for suggesting how to force a specific version! It is really helpful cause hardcoded Monaco version is pretty old in monaco loader.
Bumps the version of
monaco-editor
used from0.34.0
to0.35.0
.Adds support for a few new editor functions, including
addKeybindingRules
.monaco-editor 0.35.0 on npm
For reference for anyone else who needs a newer version of
monaco-editor
before this gets merged, you can force the use of a specific version like this: