Skip to content

fix(desktop): stop spellcheck underlines on the composer - #7866

Open
Exotic209093 wants to merge 1 commit into
pingdotgg:mainfrom
Exotic209093:fix/desktop-spellcheck-language
Open

fix(desktop): stop spellcheck underlines on the composer#7866
Exotic209093 wants to merge 1 commit into
pingdotgg:mainfrom
Exotic209093:fix/desktop-spellcheck-language

Conversation

@Exotic209093

@Exotic209093 Exotic209093 commented Aug 22, 2026

Copy link
Copy Markdown

Problem

The desktop composer inherits Chromium spellcheck, whose dictionary list is populated from the OS locale only (and an empty list falls back to en-US). T3 Code has no UI-language setting the dictionaries could be derived from, so any text typed in a language other than the OS locale gets underlined as misspelled (#7742).

Fix

Opt the composer's contenteditable out of spellcheck (spellCheck={false}). This matches existing precedent in the repo: every other input and textarea already passes spellCheck={false}, the mobile terminal input sets spellCheckingType = .no, and #2554 was previously closed as "composer disables spellcheck". One prop fixes both the desktop shell and any browser loading the same web client, without inventing new settings machinery or touching Electron internals.

A dictionary picker / spellcheck toggle would be a bigger product decision; happy to split that out if wanted.

Fixes #7742

ox-alpha via opencode


Note

Low Risk
Tiny UI-only prop change on the composer; no auth, data, or editor logic impact.

Overview
Disables Chromium spellcheck on the composer ContentEditable so non-OS-locale text is no longer underlined as misspelled.

Sets spellCheck={false} on the prompt editor, matching other inputs in the app. There is no UI-language setting to drive dictionaries, so this is a one-prop opt-out rather than a new toggle.

Reviewed by Cursor Bugbot for commit 2d68318. Configure here.

Note

Disable spellcheck on ContentEditable in ComposerPromptEditorInner

Sets spellCheck={false} on the ContentEditable element in ComposerPromptEditor.tsx to stop browser spellcheck underlines. The app currently lacks a UI-language concept, making the default spellchecker inaccurate.

Macroscope summarized 2d68318.

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
@coderabbitai

coderabbitai Bot commented Aug 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 7a181be6-525f-4429-8996-468f14f7b7fb

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added vouch:unvouched PR author is not yet trusted in the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Aug 22, 2026
@macroscopeapp

macroscopeapp Bot commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 2d68318

Macroscope's review found this PR approvable — This is a simple UI adjustment that disables spellcheck underlining on the composer input, matching existing patterns in the codebase. The change has no runtime behavior impact beyond visual presentation.

You can add or adjust custom eligibility rules. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS 0-9 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Desktop spellcheck stays on OS locale (en-US) and underlines other languages

1 participant