Skip to content

[codex] keep invisible inline units editable#259

Draft
ocavue wants to merge 2 commits into
masterfrom
hide-mode-invisible-units
Draft

[codex] keep invisible inline units editable#259
ocavue wants to merge 2 commits into
masterfrom
hide-mode-invisible-units

Conversation

@ocavue

@ocavue ocavue commented Jul 7, 2026

Copy link
Copy Markdown
Member

Degenerate inline Markdown units now stay visible and editable instead of collapsing to a zero-width footprint in hide or focus mode. Previewless image sources reveal their raw Markdown, angle-bracket destinations normalize for link/image attrs, and failed image loads keep a visible placeholder.

Validated with pnpm run typecheck, pnpm test, and pnpm lint.

@vercel

vercel Bot commented Jul 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
meowdown Ready Ready Preview, Comment Jul 7, 2026 6:01pm

@pkg-pr-new

pkg-pr-new Bot commented Jul 7, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/prosekit/meowdown/@meowdown/core@259
npm i https://pkg.pr.new/prosekit/meowdown/@meowdown/react@259

commit: 9e5d44e

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 94% 3418 / 3636
🔵 Statements 91.78% 3812 / 4153
🔵 Functions 91.69% 817 / 891
🔵 Branches 85.81% 2299 / 2679
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/core/src/style.css 0% 0% 0% 0%
packages/core/src/extensions/atom-mark-navigation.ts 79.27% 73.33% 95% 86.81% 36, 86, 97, 104, 115, 124, 144, 153-164, 179, 199-204
packages/core/src/extensions/hidden-run.ts 96.26% 92.92% 100% 100% 29, 63, 80, 103
packages/core/src/extensions/image.ts 95.9% 89.09% 94.11% 100% 73, 96, 111, 228, 243
packages/core/src/extensions/inline-text-to-mark-chunks.ts 96.58% 93.82% 100% 97.76% 121, 268, 292, 363, 448-449, 489
packages/core/src/extensions/mark-mode.ts 98% 92.85% 100% 100% 85
packages/core/src/extensions/mark-names.ts 100% 100% 100% 100%
packages/core/src/lezer/wikilink.ts 100% 100% 100% 100%
Generated in workflow #1099 for commit 9e5d44e by the Vitest Coverage Report Action

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