Skip to content

refactor: anchor mdImageView on the image URL run#163

Draft
ocavue wants to merge 2 commits into
masterfrom
image-view-wrap-link-uri_claude
Draft

refactor: anchor mdImageView on the image URL run#163
ocavue wants to merge 2 commits into
masterfrom
image-view-wrap-link-uri_claude

Conversation

@ocavue

@ocavue ocavue commented Jun 27, 2026

Copy link
Copy Markdown
Member

Anchor the mdImageView mark on the image's URL run (coincident with mdLinkUri) instead of the closing ), so the inline preview paints next to the URL; the hide-mode caret-stop CSS is reworked so typing right after an image still lands after it.

@vercel

vercel Bot commented Jun 27, 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 Jun 27, 2026 10:30am

@pkg-pr-new

pkg-pr-new Bot commented Jun 27, 2026

Copy link
Copy Markdown

Open in StackBlitz

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

commit: 2933102

@github-actions

github-actions Bot commented Jun 27, 2026

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 93.9% 2156 / 2296
🔵 Statements 91.76% 2373 / 2586
🔵 Functions 93.45% 543 / 581
🔵 Branches 83.81% 1326 / 1582
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/core/src/style.css 0% 0% 0% 0%
packages/core/src/extensions/image.ts 90.12% 83.33% 85.71% 91.54% 104, 110, 115, 131-132, 134, 154-155
packages/core/src/extensions/inline-marks.ts 91.17% 0% 93.75% 91.17% 98-99, 184
packages/core/src/extensions/inline-text-to-mark-chunks.ts 96.47% 92.59% 100% 96.24% 83, 228, 289, 335, 347
Generated in workflow #703 for commit 2933102 by the Vitest Coverage Report Action

@ocavue

ocavue commented Jun 29, 2026

Copy link
Copy Markdown
Member Author

test

x x x
- x x x

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