monaco-editor Articles

This are all our articles tagged with:
monaco-editor

by admin

Handle linebreak generated by Monaco Editor with PHP (& MySQL)

I’ve not been able to handle line-break/new-line/carriage-return on Monaco Editor when processed with PHP (Laravel). … Read more Handle linebreak generated by Monaco Editor with PHP (& MySQL)

by admin

How to use two different fonts on a page with the monaco editor?

I am using react-monaco-editor. In the global css I set a font family, for example … Read more How to use two different fonts on a page with the monaco editor?

by admin

Is it possible to inject javascript event listeners to HoverProvider?

Is there a way to inject event listener or custom code to Monaco Hover Provider … Read more Is it possible to inject javascript event listeners to HoverProvider?

by admin

How to add a custom UI/intellisense inside Monaco editor?

I want to add a custom pill element next to the import definitions in my … Read more How to add a custom UI/intellisense inside Monaco editor?

by admin

install packages and get autocompletion on Monaco editor react

I want to give my users the ability to install npm packages in the browser … Read more install packages and get autocompletion on Monaco editor react

by admin

Dynamic imports in monaco-editor

How can I dynamically call addExtraLibs in monaco-editor with content from custom source? So when … Read more Dynamic imports in monaco-editor

by admin

How to add annotation for errors in @monaco-editor/react

I am using @monaco-editor/react component as java script code editor in my application. the editor … Read more How to add annotation for errors in @monaco-editor/react

by admin

monaco-editor/react onClick event doesn’t fire

I am using monaco-editor/react in my Next.js application, and everything works well. I need to … Read more monaco-editor/react onClick event doesn’t fire

by admin

How to refresh the undo/redo stack in monaco editor

I need to clear or reset the undo/redo stack in Monaco editor, I looked up … Read more How to refresh the undo/redo stack in monaco editor

by admin

How to refresh the undo/redo stack in monaco editor

I need to clear or reset the undo/redo stack in Monaco editor, I looked up … Read more How to refresh the undo/redo stack in monaco editor

by admin

Monaco Editor setSelection removing my classes

I select my line like this: currentFile.editor.setSelection({startColumn: column, endColumn: column, startLineNumber: line, endLineNumber: line}); this … Read more Monaco Editor setSelection removing my classes

by admin

How can I make the monaco editor size to its parent div?

So I am trying to create a layout with two instances of the monaco editor … Read more How can I make the monaco editor size to its parent div?

by admin

How do I include the main.bundle.js from other react app?

This is micro-frontends app(let’s call it MainContainer, run at http://localhost:3003). One of the apps that … Read more How do I include the main.bundle.js from other react app?

by admin

How to change height of suggestion options in monaco editor

I want to change the height of the rows in the autocomplete menu in Monaco … Read more How to change height of suggestion options in monaco editor

by admin

Is there a way to make monaco-editor display keywords normally?

Look: So many things were highlighted incorrectly out of the box. It’s just a .jsx … Read more Is there a way to make monaco-editor display keywords normally?