Open
Description
With electron/electron#45277 Electron has dropped support for document.execCommand("paste")
to align with browsers. We might be able to get some transition time via electron/electron#45377
This issue captures the existing usages and the work needed to migrate to a web friendly equivalent api.
- Webview https://github.com/microsoft/vscode/blob/main/src/vs/workbench/contrib/webview/browser/webviewElement.ts
- Editor clipboard https://github.com/microsoft/vscode/blob/main/src/vs/editor/contrib/clipboard/browser/clipboard.ts
- Text input actions https://github.com/microsoft/vscode/blob/main/src/vs/workbench/browser/actions/textInputActions.ts (This has a web fallback we can switch to)
- Input clipboard actions https://github.com/microsoft/vscode/blob/main/src/vs/workbench/contrib/codeEditor/electron-sandbox/inputClipboardActions.ts