From f95b61fc5dda75d29a93359717289ee73f1b6130 Mon Sep 17 00:00:00 2001 From: Shantur Rathore Date: Thu, 30 Oct 2025 00:22:08 +0000 Subject: [PATCH] chore: disable spellcheck in renderer inputs --- electron/main/main.ts | 1 + src/components/prompt-input.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/electron/main/main.ts b/electron/main/main.ts index fb1b691d..9bce6f90 100644 --- a/electron/main/main.ts +++ b/electron/main/main.ts @@ -23,6 +23,7 @@ function createWindow() { preload: join(__dirname, "../preload/index.js"), contextIsolation: true, nodeIntegration: false, + spellcheck: false, }, }) diff --git a/src/components/prompt-input.tsx b/src/components/prompt-input.tsx index 12a1cb08..025008fd 100644 --- a/src/components/prompt-input.tsx +++ b/src/components/prompt-input.tsx @@ -716,6 +716,7 @@ export default function PromptInput(props: PromptInputProps) { disabled={props.disabled} rows={1} style={attachments().length > 0 ? { "padding-top": "8px" } : {}} + spellcheck={false} />