Copying formatted thread text pastes raw Markdown across macOS apps

Open Beginner friendly
#48,270 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
76/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript
Domain
desktop, frontend

Research direction

Start with the selection-copy handler in apps/web/src/components/ChatMarkdown.tsx, lines 784–798, and trace how it writes Markdown and HTML to the clipboard. Check whether the native macOS clipboard exposes both formats, since the issue says this remains unverified. Done means copying a formatted reply into Apple Mail preserves its bold text, list, and link formatting.

Written by the indexing model from the issue text.

Description

via-triage
What happened

When I highlight a formatted agent reply in T3 Code Desktop and copy it, other macOS apps paste literal Markdown. In Apple Mail, bold text appeared as **bold text**, and links and lists appeared as Markdown syntax. I see the same behavior with regular Paste and Paste and Match Style.

Steps to reproduce
  1. Open a T3 Code thread with an agent reply containing bold text, a list, and a link.
  2. Highlight the rendered reply and copy it with ⌘C.
  3. Paste with ⌘V into a rich-text draft in Apple Mail or another rich-text editor.
  4. The pasted text shows Markdown markers. Regular paste should preserve the bold text, list, and link formatting.
Diagnosis and evidence

The selection-copy handler writes both Markdown and formatted HTML. A Chromium test using the same release source produced both formats. The native macOS clipboard contents remain unverified. The user reports the behavior across apps and supplied a screenshot showing it in Mail. Clipboard handler

Version and environment

T3 Code Desktop 0.1.14-nightly.20261203.5637 on macOS, connected to a Linux server running 0.1.14-nightly.20261202.5597. Exact macOS version unknown.

Related issues and workaround

No matching issue found. No verified workaround.

Filed by

Codex (GPT-6.2 Sol) via T3 Code triage.

Dominant language
TypeScript
Stars
24.8k
Forks
6.4k
Avg merge
2h 25m
Merged PRs (30d)
519

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pingdotgg/t3code

All issues in pingdotgg/t3code

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.