[Bug] Context Menu "Paste" does nothing
Author: FlorianPoesslCreated Jul 1, 2026Updated Aug 25, 2026
Reproducible in vscode.dev or in VS Code Desktop?
- Not reproducible in vscode.dev or VS Code Desktop
Reproducible in the monaco editor playground?
- Not reproducible in the monaco editor playground
Monaco Editor Playground Link
Monaco Editor Playground Code
const value = /* set from `myEditor.getModel()`: */ `function hello() {
console.log('Hello')
}`;
// Hover on each property to see its docs!
const myEditor = monaco.editor.create(document.getElementById("container"), {
value,
language: "javascript",
automaticLayout: true,
});
Reproduction Steps
- Select some code and copy it
- Right click to open context menu
- Click 'Paste'
Actual (Problematic) Behavior
Nothing happens after 'Paste' is pressed
Expected Behavior
The copied code should be inserted
Additional Context
No response
Source: microsoft/monaco-editor