You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm creating a headless WordPress site with NextJS and I'm currently fetching all the help docs via pages from my WordPress backend. Since the data being returned from the API when fetching a page is HTML, I'm using dangerouslySetInnerHTML on the page where it's being rendered.
I'd like to wrap all the <a /> tags that's being fetched with the NextJS <Link /> tag. I was wondering if this was possible?
Thanks!
The text was updated successfully, but these errors were encountered:
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
vercel
locked as resolved and limited conversation to collaborators
Jan 31, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
I'm creating a headless WordPress site with NextJS and I'm currently fetching all the help docs via pages from my WordPress backend. Since the data being returned from the API when fetching a page is HTML, I'm using
dangerouslySetInnerHTML
on the page where it's being rendered.I'd like to wrap all the
<a />
tags that's being fetched with the NextJS<Link />
tag. I was wondering if this was possible?Thanks!
The text was updated successfully, but these errors were encountered: