Skip to content

test: reproduce lost typing over a fully selected code block#258

Draft
ocavue wants to merge 2 commits into
masterfrom
test/code-block-full-selection-typing
Draft

test: reproduce lost typing over a fully selected code block#258
ocavue wants to merge 2 commits into
masterfrom
test/code-block-full-selection-typing

Conversation

@ocavue

@ocavue ocavue commented Jul 7, 2026

Copy link
Copy Markdown
Member

Typing over a fully selected code block loses the input on Chromium and WebKit: the DOM shows the new text but the ProseMirror doc, the serialized markdown, and onDocChange never update. This adds tests reproducing the bug in both the react node view and the core toDOM rendering, marked it.fails until a fix lands (Firefox is unaffected and skipped). Related: prosekit/prosemirror-adapter#255

@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 4:29pm

@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@258
npm i https://pkg.pr.new/prosekit/meowdown/@meowdown/react@258

commit: 84554f2

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 93.93% 3378 / 3596
🔵 Statements 91.68% 3762 / 4103
🔵 Functions 91.63% 811 / 885
🔵 Branches 85.74% 2262 / 2638
File CoverageNo changed files found.
Generated in workflow #1097 for commit 84554f2 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