You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Undo/redo command don't fire for webviews if used from command palette #101553
bugIssue identified by VS Code Team member as probable bugcustom-editorsCustom editor API (webview based editors)help wantedIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeededwebviewWebview issues
Matt Bierner (@mjbvz) Trying to verify this with the hex editor extension which listens to the undo and redo events which get fired for custom editors. I can execute undo and redo via keyboard shortcut, but not via the command palette. When you mean edit menu do you mean the right click menu?
bugIssue identified by VS Code Team member as probable bugcustom-editorsCustom editor API (webview based editors)help wantedIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeededwebviewWebview issues
Activity
mjbvz commentedon Jul 2, 2020
The root cause of this is that regular undo command is fired when undo is triggered from the command palette:
vscode/src/vs/editor/browser/controller/coreCommands.ts
Line 1841 in 97650fb
This is likely because the command palette is still the active element