diff --git a/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx b/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx index 0053f343..4530e78c 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx @@ -383,9 +383,8 @@ export const VoidInputBox2 = forwardRef(fun // Focus the textarea first textarea.focus(); - // The most reliable way to simulate typing is to use execCommand - // which will trigger all the appropriate native events - document.execCommand('insertText', false, text + ' '); // add space after too + // Insert the @ to mention text in the editor (we decided not to do this for now) + // document.execCommand('insertText', false, text + ' '); // add space after too // React's onChange relies on a SyntheticEvent system // The best way to ensure it runs is to call callbacks directly