Skip to content

Fix ChatGPT Tab suggestion acceptance#309

Merged
bartekplus merged 1 commit intomasterfrom
codex/fix-chatgpt-tab-accept
Mar 13, 2026
Merged

Fix ChatGPT Tab suggestion acceptance#309
bartekplus merged 1 commit intomasterfrom
codex/fix-chatgpt-tab-accept

Conversation

@bartekplus
Copy link
Owner

Summary

  • add a document_start main-world Tab bridge for rich editors so pages like ChatGPT cannot steal focus before FluentTyper accepts a visible suggestion
  • route early bridge messages through the content-script runtime, return real accept results, and retry contenteditable accepts when a host cancels beforeinput without mutating the DOM
  • default unset Tab/Enter acceptance settings to true and scope the early bridge away from plain inputs so existing input/textarea Tab acceptance keeps the normal path

Test Plan

  • bun run lint
  • bun run format:check
  • bun run test
  • bun run check:e2e:coverage
  • bun run test:e2e
  • bun run test:e2e --platform=firefox
  • bun run test:e2e:full
  • bun run test:e2e:full --platform=firefox

@bartekplus bartekplus merged commit ce3bde5 into master Mar 13, 2026
8 checks passed
@bartekplus bartekplus deleted the codex/fix-chatgpt-tab-accept branch March 13, 2026 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant