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

[Bug] Paste in editor context menu didn't work

Open Cheese-Yu opened this issue 10 months ago • 0 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. enable webpack process polyfill
  2. build and open monaco-editor
  3. right click the editor menu and click paste, it paste nothing
  4. right click the editor menu show "Ctrl+" in MacOs, but not "⌘+"
  5. 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.

Cheese-Yu avatar Apr 10 '24 02:04 Cheese-Yu