From 2d68318dd5b40c286bac475feecf24d36ad70fcf Mon Sep 17 00:00:00 2001 From: James Date: Sat, 22 Aug 2026 02:48:45 +0100 Subject: [PATCH] fix(desktop): stop spellcheck underlines on the composer The desktop composer inherits Chromium spellcheck, whose dictionaries come from the OS locale only. The app has no UI-language setting to derive dictionaries from, so text in any other language is underlined as misspelled. Opt the composer out of spellcheck like every other input in the app already does. ox-alpha via opencode --- apps/web/src/components/ComposerPromptEditor.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/web/src/components/ComposerPromptEditor.tsx b/apps/web/src/components/ComposerPromptEditor.tsx index 15d31c7323b0..92b3b295bfcb 100644 --- a/apps/web/src/components/ComposerPromptEditor.tsx +++ b/apps/web/src/components/ComposerPromptEditor.tsx @@ -1760,6 +1760,10 @@ function ComposerPromptEditorInner({ data-testid="composer-editor" aria-placeholder={placeholder} placeholder={} + // The app has no UI-language concept, so Chromium only ever has + // the OS locale's dictionary and underlines every other language + // as misspelled. Every other input here opts out too. + spellCheck={false} onPaste={onPaste} /> }