You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This all stems from trying to implement monaco-yaml in a create-react-app application without ejecting. In a best case scenario I'd like to be able to use this with https://www.npmjs.com/package/@monaco-editor/react, however it seems that it's incompatible in it's current state.
The text was updated successfully, but these errors were encountered:
From the readme:
Also make sure to register the web worker.
Going through the previous issues, and looking at all the examples (example: #92 (comment)) it seems that instantiating the Web Worker is necessary. I'm curious why this is needed especially since the current playground on the official site has no mentions of a worker: https://microsoft.github.io/monaco-editor/playground.html#extending-language-services-configure-json-defaults. I'd be happy to submit a PR to update the readme, but I'm a bit curious what the worker provides.
This all stems from trying to implement
monaco-yaml
in a create-react-app application without ejecting. In a best case scenario I'd like to be able to use this with https://www.npmjs.com/package/@monaco-editor/react, however it seems that it's incompatible in it's current state.The text was updated successfully, but these errors were encountered: