We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a39d289 commit 4676eaeCopy full SHA for 4676eae
src/tools.ts
@@ -516,7 +516,7 @@ export function mapClipboard (
516
weight: 1000,
517
handler: () => {
518
copiedText = editor.getModel()!.getValueInRange(editor.getSelection()!)
519
- document.execCommand('copy')
+ document.execCommand('cut')
520
},
521
when: ContextKeyExpr.equals('editorId', editor.getId()),
522
primary: monaco.KeyMod.CtrlCmd | monaco.KeyCode.KeyX
0 commit comments