-
Notifications
You must be signed in to change notification settings - Fork 34.3k
Open
Labels
editor-clipboardEditor clipboard issuesEditor clipboard issueselectron-blockerIssues in next update of Electron preventing updateIssues in next update of Electron preventing updatenotebook-clipboardwebviewWebview issuesWebview issues
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
aiday-mar, 0x9fff00, orzogc and Plet53
Metadata
Metadata
Assignees
Labels
editor-clipboardEditor clipboard issuesEditor clipboard issueselectron-blockerIssues in next update of Electron preventing updateIssues in next update of Electron preventing updatenotebook-clipboardwebviewWebview issuesWebview issues