Skip to content

Comments

feat-improve-link-extension-behavior#4166

Open
ComputelessComputer wants to merge 2 commits intomainfrom
feat-improve-link-extension-behavior
Open

feat-improve-link-extension-behavior#4166
ComputelessComputer wants to merge 2 commits intomainfrom
feat-improve-link-extension-behavior

Conversation

@ComputelessComputer
Copy link
Collaborator

• Made Link extension non-inclusive to prevent automatic linkification of text typed after links
• Refactored click handler logic with early returns for improved readability
• Enhanced event handling for both modifier and non-modifier clicks on link elements
• Added link boundary guard plugin to prevent link marks from extending beyond URL text
• Ensured link marks only apply to URL portion when text contains additional content

Make Link extension non-inclusive to prevent text typed after
links from being linkified automatically. Refactor click handler
logic to use early returns for better readability and ensure
proper event handling for both modifier and non-modifier clicks
on link elements.
Remove inclusive override and add link boundary guard plugin to
prevent link marks from extending beyond actual URL text. Include
parent plugins to maintain extension functionality. Guard ensures
link marks only apply to URL portion when text contains additional
content.
@netlify
Copy link

netlify bot commented Feb 22, 2026

Deploy Preview for hyprnote-storybook ready!

Name Link
🔨 Latest commit 55df48d
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote-storybook/deploys/699b30770ff4650008dcbeff
😎 Deploy Preview https://deploy-preview-4166--hyprnote-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Feb 22, 2026

Deploy Preview for hyprnote ready!

Name Link
🔨 Latest commit 55df48d
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote/deploys/699b3077ffb9570007b9df33
😎 Deploy Preview https://deploy-preview-4166--hyprnote.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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