Skip to content

fix: apply the spellcheck attribute at mount and stop pausing it around edits - #451

Draft
ocavue wants to merge 2 commits into
masterfrom
spell-check-attribute-on-mount
Draft

fix: apply the spellcheck attribute at mount and stop pausing it around edits#451
ocavue wants to merge 2 commits into
masterfrom
spell-check-attribute-on-mount

Conversation

@ocavue

@ocavue ocavue commented Aug 7, 2026

Copy link
Copy Markdown
Member

The pause from #186 also suppressed WebKit's as-you-type spell marking (WebKit checks a word the moment its boundary is typed and never re-checks it later), so set the attribute statically at mount. In its place, a new always-on guard cancels the beforeinput insertReplacementText events behind system smart punctuation, and any system replacement targeting syntax characters, atom sources, or code, so those rewrites cannot corrupt Markdown in any host.

@vercel

vercel Bot commented Aug 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 Aug 7, 2026 7:45am

@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: a798a942-c38f-4bef-9a73-e0b6f286605f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@pkg-pr-new

pkg-pr-new Bot commented Aug 7, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@meowdown/core@451
npm i https://pkg.pr.new/@meowdown/markdown@451
npm i https://pkg.pr.new/@meowdown/react@451

commit: 3c6fe88

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 93.81% 4700 / 5010
🔵 Statements 91.4% 5285 / 5782
🔵 Functions 91.84% 1138 / 1239
🔵 Branches 86.76% 3375 / 3890
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/core/src/extensions/extension.ts 100% 100% 100% 100%
packages/core/src/extensions/spell-check.ts 100% 100% 100% 100%
packages/core/src/extensions/system-substitution-guard.ts 77.41% 70.83% 100% 79.16% 28, 47-53
Generated in workflow #1773 for commit 3c6fe88 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