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 have been searching for a discussion about if it's possible to mimic the html tag textarea's resizing when using Monaco Editor's field all over the Internet but I couldn't find one answering my question.  I'm using the monaco-ed...
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 trying to use the react-monaco-editor npm package component to import the monaco editor into my react application.  These are the version of the packages I downloaded from npm:  "react-monaco-editor": "^0.13.0", "@types/react...
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'm trying to configure the Monaco Editor in a way that certain regions of the textcontent are readonly. More precise, I want the first and last line to be readonly. Example below:  public something(someArgument) { // This is readonly // This is...
I would like to set the indentation width (in spaces) in an instance of the monaco editor.   So far, I've been able to customize many options by passing in any of the IEditorOptions during initialization. These options can also be customized late...
My understanding is that Monaco is optimized for editing, and for having showing one file at a time, with a fixed size editor that has its own scroll bar.  Instead I am trying to build one page with the diffs of multiple files below each other   allo...
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 see there is a way to set scrolltop in monaco editor. How would one scroll to a specific line instead of a specific pixel?...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.