Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Paste in editor context menu broken on monaco-editor 0.47 #4438

Open
2 tasks done
bytemain opened this issue Mar 20, 2024 · 1 comment
Open
2 tasks done

[Bug] Paste in editor context menu broken on monaco-editor 0.47 #4438

bytemain opened this issue Mar 20, 2024 · 1 comment

Comments

@bytemain
Copy link

Reproducible in vscode.dev or in VS Code Desktop?

  • Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

Monaco Editor Playground Link

https://stackblitz.com/edit/github-f3sm97?file=src%2Findex.js

Monaco Editor Playground Code

need webpack, so I share it on stackblitz

Reproduction Steps

  1. enable webpack process polyfill
  2. build and open monaco-editor
  3. right click the editor menu and click paste, it paste nothing

Actual (Problematic) Behavior

right click the editor menu and click paste, it paste nothing

Expected Behavior

right click the editor menu and click paste, it paste code

Additional Context

this is because: microsoft/vscode#200935

this pr will make platform.isWeb to false

image

so it cannot enter the right logic

CleanShot 2024-03-20 at 17 15 26@2x

@Cheese-Yu
Copy link

Cheese-Yu commented Apr 9, 2024

microsoft/vscode has fixed this problem: microsoft/vscode#207693.
Has there been any progress on this issue?

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

No branches or pull requests

2 participants