Skip to content

Conversation

@dimaMachina
Copy link

@dimaMachina dimaMachina commented Jun 10, 2025

If monaco-editor is loaded from ESM based CDNs, shortcuts which contain Cmd will not works on Mac and instead you should use Ctrl even you are using mac device

see https://esm.sh/monaco-editor

/* esm.sh - monaco-editor@0.52.2 */
import "/node/buffer.mjs";
import "/node/process.mjs";
export * from "/monaco-editor@0.52.2/es2022/monaco-editor.mjs";

where buffer and process are polyfilled

ref esm-dev/esm.sh#1134 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant