vue-monaco icon indicating copy to clipboard operation
vue-monaco copied to clipboard

MonacoEditor component for Vue.js

Results 60 vue-monaco issues
Sort by recently updated
recently updated
newest added

I have the following code: ```js ``` Toggling `showDiffEditor` does not swap between the normal editor and the diff editor. Is this expected to work?

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](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_...

![image](https://user-images.githubusercontent.com/35623921/119584823-1f3ff880-bdd2-11eb-8425-219397a1beb1.png)\ 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',...