Open BartuCulha opened 2 years ago
@ogsamovar I think, since some links maybe desired to be in the documentation, and others external, you should code the external anchor tags yourself, by adding target="_blank" rel="noopener noreferrer"
I think this time I can do that by adding HTML links instead of markdown links ~ it should works. Let me try. In v2 would be nice to have this as a global rule when every external link is automatically opened in a new window.
Yes I will manually add those rules to relevant links for this time.
It seems that the target="_blank"
attribute gets ignored / bypassed by the app.
It's not even present when inspecting the code O_o
you can verify it here https://prime-deals-staging.vercel.app/documentation by clicking and inspecting any external link (like the blogs or the Gnosis Safe website link).
and by checking the raw md file that contains that rule https://raw.githubusercontent.com/PrimeDAO/deals-docs/main/published-md-files/getting-started.md
I grabbed a video to show you that the link are being opened in the same window.
Result:
Links opens in the same window
Expected:
Link to open in a new tab