I would like to open a link in a new tab, but this link is a value from CMS.
When I link the CMS with the Link Block, i lost the option to open the link in a new tab.
The first screenshot shows the option without CMS link and the second screenshot shows after I link the CMS
I can’t tell if you’re doing this in a collection list or on a collection page, but I’ve checked both. Your UI looks closer to the one I remember from about 2 years ago.
Very odd. Might contact support on this one, or at least share a readonly link to your project and a video to show what you’re seeing.
I forgot to mention something important: the link block is within a custom component. If I use a link block outside of the component, then I have the same settings as yours. I’m sharing a read-only link above; the link is the one with an image of the Instagram logo.
Can’t say but first thing I’d try is to establish your open in new window settings before you link it to a property. It may preserve your settings and then just allow the URL itself to be overridden.
If not, you’ll need to use custom code to find and update those.
Or use something like SA5 Dynamic Attributes feature to set x-target = _blank so that the link will open in a new tab.