At the moment this component always adds the target="_blank" attribute.
This is fine for most use-cases, but for things like mailto, tel, or download links that isn't really needed. I think having the option to opt-out of the new tab would be a nice addition. It would default to true if not set, but can be used to explicitly disable it.
At the moment this component always adds the
target="_blank"
attribute.This is fine for most use-cases, but for things like mailto, tel, or download links that isn't really needed. I think having the option to opt-out of the new tab would be a nice addition. It would default to true if not set, but can be used to explicitly disable it.