Skip to content

fix(mobile): tall iOS code blocks with long lines show their code - #228

Merged
trancong12102 merged 1 commit into
mainfrom
fix/enriched-markdown-ios-tall-code-blocks
Nov 15, 2026
Merged

trancong12102 merged 1 commit into
mainfrom
fix/enriched-markdown-ios-tall-code-blocks

Conversation

@trancong12102

@trancong12102 trancong12102 commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

On iOS, a tall code block with long lines showed its header and reserved its height, but the code pane stayed empty. Upstream fixed this (0ca50a6f1e, #33243) and the long-pressed blockquote overlap (e4f066da21, #36461) by shipping new builds of T3 Code's Enriched Markdown tarball, so the upstream sync skipped both: Onicode ships its own build from aislopware/enriched-markdown.

This ports the fixes into that fork:

The new tarball's contents match upstream's t3.18-16db4c75 apart from the fork metadata (oni-fork.json, package.json). The tarball, package.json, pnpm-workspace.yaml, the lockfile and deps/README.md move to oni.20, and the old tarball is removed. Both ledger rows go from skip to take. Native clients need a rebuild because the fingerprint changes.

Before / after (iPhone 17 simulator, iOS 27.2)

Replay (dev) turn with a 900-line block of roughly 400-character lines, and a blockquote.

Before (oni.19) After (oni.20)
Tall code block before: empty code pane after: code shows
Long-pressed blockquote (already fixed in oni.19) before: lifted blockquote after: lifted blockquote

vp run check:changed passes.

Ported with Claude Opus 5.5 in Claude Code (Onicode).

🤖 Generated with Claude Code

Ports upstream 0ca50a6f1e (#33243) into Onicode's own Enriched Markdown
build: aislopware/enriched-markdown@9c558b5c (1.2.0-oni.20) cherry-picks
pingdotgg/enriched-markdown#15, which draws code panes too big for one
backing store through a CATiledLayer. Upstream e4f066da21 (#36461) was
already in oni.19 with the identical blockquote preview change; both
ledger rows now record the port.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@trancong12102
trancong12102 merged commit 284a473 into main Nov 15, 2026
18 checks passed
@trancong12102
trancong12102 deleted the fix/enriched-markdown-ios-tall-code-blocks branch November 15, 2026 15:55
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