Microsoft/vscode
在 GitHub 查看ctrl+z / ctrl+shift+z (undo/redo) not working for input elements when a custom editor is open
Open
#227,849 创建于 2024年9月6日
bugcustom-editorshelp wanted
仓库指标
- Star
- (74,848 star)
- PR 合并指标
- (平均合并 11小时 43分钟) (30 天内合并 1,000 个 PR)
描述
Does this issue occur when all extensions are disabled?: Yes (affects extension authoring)
- VS Code Version: 1.94.0-insider
- OS Version: Mac Sonoma 14.6.1
Steps to Reproduce:
-
Modify webview-view-sample's webview HTML to include an
<input>element -
Compile and package the webview extension (will need to modify the publisher tag), then install it locally
-
Compile and run the custom-editor-sample
-
Open the calico colors webview view
-
Observe that when no custom editors are open, the ctrl+z / ctrl+shift+z events work
-
Open the custom editor
-
Observe that the undo/redo hotkeys no longer work in the webview view