๐Ÿ”ฎ Sanity Create is here. Writing is reinvented. Try now, no developer setup

Tips for opening links in a new tab using custom annotation in Sanity.io

4 replies
Last updated: Apr 14, 2020
any hints on supporting opening links in a new tab (via block content)?
Apr 14, 2020, 2:00 AM
user M
Apr 14, 2020, 2:03 AM
Iโ€™ve been doing it using a custom annotation like this, and then in the frontend project I can get the data from
and check if
is true or false to add the appropriate
Apr 14, 2020, 2:14 AM
Apr 14, 2020, 4:07 AM
user R
user Q
thx! ๐Ÿ™‡โ€โ™‚๏ธ
Apr 14, 2020, 6:41 AM

Sanityโ€“ build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?