-
Notifications
You must be signed in to change notification settings - Fork 975
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
auto copy header link #4411
auto copy header link #4411
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work with this @mirnawong1! Just have one requested change. I shared a loom along with a hint on what to adjust. Let me know if you have any questions and we can walk through it!
hey @JKarlavige thank you so much! ok i've tested this out and added another eventlistener - it looks like this world in a page refresh too. can you give it another review whenever you have a chance. thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all lgtm! great idea and awesome work again on this @mirnawong1! it even works in the blog which is pretty cool.
thank you so much for your guidance and help @JKarlavige ! 🚀 |
This PR adds a headerLinkCopy function/script that will auto copy H2 and H3 header links when header or 🔗 icon is clicked. The script also has a pop up confirming the link was auto copied and times out after 3 seconds.