Open new tab for external link
mk1564 opened this issue · 1 comments
mk1564 commented
Hi. One quick question: is there a way to open new tab for an external hyper link? Thanks!
dragonman225 commented
For now you can right-click -> "Open link in new tab" 🙂.
But this is a good suggestion, many sites open external (cross-origin) links in new tabs and users expect such a behavior. I'll look into it.
For reference, we can make a link open in a new tab by setting the target
attribute , and we can distinguish internal links from external link by testing if they start with http(s?)://
.