vue-monaco
vue-monaco copied to clipboard
MonacoEditor component for Vue.js
I have the following code: ```js ``` Toggling `showDiffEditor` does not swap between the normal editor and the diff editor. Is this expected to work?
[](https://renovatebot.com) Welcome to [Renovate](https://togithub.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin. 🚦 To activate Renovate, merge this Pull Request....
I'm trying to use my custom JSON schema in editor content but it doesn't work. ``` editorWillMount(monaco) { monaco.languages.json.jsonDefaults.setDiagnosticsOptions({ schemas: [ { schema: schema /// from import } ] });...
Replaces https://github.com/egoist/vue-monaco/pull/202
I would like to know if there are things to be considered when trying to use this component in the setup mentioned on the issue title. I have tried to...
Are there any reason the version of monaco-editor is not up to date? if so, I could try to contribute
I am facing issue when i use diffEditor with below issue. ``` app.js?id=54d2f2245e73c93ae703:2 TypeError: Cannot read properties of undefined (reading 'onDidChangeModelContent') at Proxy.initMonaco (app.js?id=54d2f2245e73c93ae703:2) at Proxy.mounted (app.js?id=54d2f2245e73c93ae703:2) ``` Below is...
``` ``` ``` editorDidMount (editor) { // Register a new language editor.languages.register({ id: 'GCodeLanguage' }) var e = this.$refs.editor.getEditor() console.log(e) ............................................... ............................................... ``` in the console I get _undefined_ _this.$refs.editor_...
\ this is my vue.config.js ``` const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin') module.exports = { configureWebpack: { plugins: [ new MonacoWebpackPlugin({ // available options are documented at https://github.com/Microsoft/monaco-editor-webpack-plugin#options languages: ['javascript', 'css', 'html',...