Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(prose-components): use html anchor link in headings #1381

Merged
merged 1 commit into from Jul 27, 2022
Merged

fix(prose-components): use html anchor link in headings #1381

merged 1 commit into from Jul 27, 2022

Conversation

nobkd
Copy link
Contributor

@nobkd nobkd commented Jul 26, 2022

πŸ”— Linked issue

#1380

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

The <NuxtLink>s for the heading links are replaced by the HTML anchor element <a> to enable focusing on clicking on the link.
The focusing is not working with NuxtLink and as this discussion points out, can be replaced by the default HTML element.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@netlify
Copy link

netlify bot commented Jul 26, 2022

βœ… Deploy Preview for nuxt-content ready!

Built without sensitive environment variables

Name Link
πŸ”¨ Latest commit ca1861c
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt-content/deploys/62e0515f2fb2030008db6954
😎 Deploy Preview https://deploy-preview-1381--nuxt-content.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 site settings.

@Atinux Atinux requested a review from farnabaz July 26, 2022 23:30
@farnabaz farnabaz changed the title fix: heading anchor links now focused on click fix(prose-components): use html anchor link in headings Jul 27, 2022
@farnabaz farnabaz merged commit 1593ad7 into nuxt:main Jul 27, 2022
@nobkd nobkd deleted the patch-1 branch July 27, 2022 09:59
@farnabaz farnabaz mentioned this pull request Aug 12, 2022
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.

None yet

3 participants