Microsoft/vscode

ctrl+z / ctrl+shift+z (undo/redo) not working for input elements when a custom editor is open

Open

#227.849 geöffnet am 6. Sept. 2024

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (1 zugewiesene Person)TypeScript (10.221 Forks)batch import
bugcustom-editorshelp wanted

Repository-Metriken

Stars
 (74.848 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 11h 43m) (1.000 gemergte PRs in 30 T)

Beschreibung

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:

  1. Modify webview-view-sample's webview HTML to include an <input> element

  2. Compile and package the webview extension (will need to modify the publisher tag), then install it locally

  3. Compile and run the custom-editor-sample

  4. Open the calico colors webview view

  5. Observe that when no custom editors are open, the ctrl+z / ctrl+shift+z events work

  6. Open the custom editor

  7. Observe that the undo/redo hotkeys no longer work in the webview view

Contributor Guide