monaco-react
monaco-react copied to clipboard
[Bug] Paste in editor context menu didn't work
Describe the bug A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- enable webpack process polyfill
- build and open monaco-editor
- right click the editor menu and click paste, it paste nothing
- right click the editor menu show "Ctrl+" in MacOs, but not "⌘+"
- refer: https://github.com/microsoft/monaco-editor/issues/4438
Or, please add a minimal code snippet to reproduce the issue, for example in codesandbox.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help to explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]: Mac
- Browser [e.g. chrome, safari]: chrome
- Version [e.g. 22]: 4.6.0
Additional context Add any other context about the problem here.