fix: Restore keyboard paste functionality, Downgrade Monaco Editor to 0.52.2 #470
+6
−31
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix: Downgrade Monaco Editor to 0.52.2 to restore keyboard paste functionality
Problem:
Users reported that keyboard paste (Ctrl+V / Cmd+V) stopped working in all Monaco editors (Query Editor, Document View). Copy still worked, and context menu paste worked, but keyboard shortcuts failed silently.
Root Cause:
Monaco Editor 0.53.x/0.54.x introduced a regression affecting keyboard paste in webview environments. The same issue was reported and fixed in vscode-cosmosdb (#2843).
Solution:
Downgraded
monaco-editorfrom~0.54.0to~0.52.2, following the same fix applied in vscode-cosmosdb#2847.Closes #435
Follow-up:
Issue #469 tracks upgrading to Monaco 0.56.0 once released, which should include fixes for clipboard issues.
monaco-editorfrom version~0.54.0to~0.52.2inpackage.json.