Microsoft recently open sourced their monaco editor (similar to ace/codemirror).  https://github.com/Microsoft/monaco-editor  I've got it up and running in the browser, but still can't figure out how to get the current text of the editor, lik...
I am using monaco-editor, and am trying to add a custom handler for Command+Enter. But when I press the command key, the Monaco context menu shows up. Is it possible to disable the context menu, or to rebind it to another key?...
I am working with monaco editor aka the VS Code engine in a web project.  I am using it to allow users to edit some JSON that has a JSON Schema set, to help give some auto-completion.  When they save their changes and wish to re-edit their work, the...
I am using the monaco editor in a project to help a user specify some templating.      require.config({ paths: { 'vs': 'https://unpkg.com/[email protected]/min/vs' }});  window.MonacoEnvironment = { getWorkerUrl: () => proxy };...
I want to create a system to store the Undo&Redo stack of the Monaco editor.   Why?: I have a Monaco instance where I do several changes. Then I have to dispose that instance and open a new one. Here, I want to restore the same stack state that I...
I can define tokens with setMonarchTokensProvider, but that does not really help because I can only make a new language or overwrite typescript. In either case I do not have the rest of the typescript tokens which I still want to have.  I just want t...
I am using Monaco Editor v 0.10.1 in a webpage, and wonder if anybody knows if it is possible to add a set of Snippets that will pop up in Command Palette -> Insert Snippet like for the Visual Code editor....
I have configured the Monaco Editor to fire an event when Ctrl+S using AddCommand:  <html> <head>     <meta charset="utf-8" />     <style type="text/css">         body {             margin: 0;             paddi...
How do I make tabs in the Monaco editor like Visual Studio Code? For example, this is what I mean....
How do I import a JavaScript API (like ProcessingJS) into Monaco so that intellisense and syntax hilighting will work?  I've looked through the API docs and as many examples as I can find, but have yet to find the answer.  Thanks!...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.