Skip to content

feat: relink an unlinked URL from the link edit popover - #526

Open
ocavue wants to merge 4 commits into
magic-comment-hidden-all-modesfrom
nolink-relink
Open

feat: relink an unlinked URL from the link edit popover#526
ocavue wants to merge 4 commits into
magic-comment-hidden-all-modesfrom
nolink-relink

Conversation

@ocavue

@ocavue ocavue commented Aug 30, 2026

Copy link
Copy Markdown
Member

Mod-K inside a noLink unit now opens the link edit popover: a new relinkURL command deletes the trailing magic comment so the address autolinks again, offered as a "Relink" action in place of "Remove link". getLinkUnitAt learns a noLink form so commands and the popover share one query.

@ocavue ocavue changed the title nolink relink feat: relink an unlinked URL from the link edit popover Aug 30, 2026
@vercel

vercel Bot commented Aug 30, 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 30, 2026 4:18pm

@coderabbitai

coderabbitai Bot commented Aug 30, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

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: a60fd6ba-e73b-4d6b-a6ea-8759fce7f853

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 30, 2026

Copy link
Copy Markdown

Open in StackBlitz

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

commit: c436c2a

@github-actions

github-actions Bot commented Aug 30, 2026

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 94.02% 5101 / 5425
🔵 Statements 91.75% 5762 / 6280
🔵 Functions 91.94% 1221 / 1328
🔵 Branches 87.73% 3742 / 4265
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/core/src/index.ts 0% 0% 0% 0%
packages/core/src/extensions/follow-link.ts 97.43% 97.61% 100% 97.43% 49
packages/core/src/extensions/get-link-unit-at.ts 100% 86.95% 100% 100%
packages/core/src/extensions/hidden-run.ts 93.91% 91.81% 100% 100% 49, 104, 106, 123, 126, 146, 213
packages/core/src/extensions/link-commands.ts 97.91% 90.69% 100% 97.77% 97, 269
packages/react/src/components/link-menu.module.css 0% 0% 0% 0%
packages/react/src/components/link-menu.module.d.css.ts 0% 0% 0% 0%
packages/react/src/components/link-menu.tsx 92.61% 91.15% 96.07% 94.61% 81, 157-159, 222, 445-446, 456, 478, 491
Generated in workflow #2080 for commit c436c2a 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