progital / gatsby-wpgraphql-inline-images

Solution for Gatsby and WPGraphQL sourced content. Downloads images locally.
MIT License
35 stars 12 forks source link

Added handling for anchors #32

Open DogByteMarketing opened 4 years ago

DogByteMarketing commented 4 years ago

This will handle when a link contains an achor. You may need to clean up formatting a bit. My code editor shows it correctly, but for some reason it adds a ton of tabbing on my portion of the code in the repo.

robmarshall commented 4 years ago

@DogByteMarketing What does this piece of code do? I think I may have just stumbled across an issue that needs it - but wanted to make sure.

I am not sure that @progital has the time to add PRs at the moment. He has been a bit quiet.

DogByteMarketing commented 4 years ago

@DogByteMarketing What does this piece of code do? I think I may have just stumbled across an issue that needs it - but wanted to make sure.

I am not sure that @progital has the time to add PRs at the moment. He has been a bit quiet.

Sorry for the late response, I didn't have notifications set up. In case someone else comes along looking for a similar solution, this handles anchor links, as currently if you click an anchor it will refresh the page.