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

[Feature Request] Offline Support

Open cephasteom opened this issue 3 years ago • 0 comments

Context

  • [X] This issue is not a bug report. (please use a different template for reporting a bug)
  • [X] This issue is not a duplicate of an existing issue. (please use the search to find existing issues)

Description

Hi there,

Apologies if this has been asked before - I couldn't find anything about it in issues. I'm creating a browser based music live coding platform. It's bundled with Webpack.

  • The Monaco editor doesn't load when running a local version of the app offline.
  • The Monaco editor doesn't run in an incognito tab
  • When online, if you refresh the page, the Monaco editor doesn't run, it requires a hard refresh.

All of this points to my app fetching the Monaco files from a remote location rather than within my Webpack bundle. Is there a way to install / load the Monaco scripts so that my app is standalone?

Many thanks in advance for any suggestions.

Pete.

cephasteom avatar Jul 26 '22 08:07 cephasteom