Hi, I'm tryng to use a target="_blank" on an "href" element to enable download on an other tab. But it is not working. The component is within a content fragment. Is there a known issue on this function?
Thank you in advance,
Sarah
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @SarahBo2 ,
Download in new Tab? isn't it same it just download?
Do you want to open in new tab?
Could you please clear.
Thanks
Views
Replies
Total Likes
yes, the client would like that when you click on the download button it opens in a new tab.
Is it possible or does adobe has restrictions on this functionality?
Views
Replies
Total Likes
It should work.
If link is getting removed then you may check antisamy or XSS sanitization mentioned in other reply.
If link is there and still not working, you may check if JS is overriding the behaviour on click.
Or share some more context/snippet if you still face the issue.
Thanks
Views
Replies
Total Likes
@SarahBo2 Probably the issue is with antisamy or XSS sanitization.
Refer to this article if that is the case - https://aemcorner.com/rte-open-in-new-window-not-working/
Views
Replies
Total Likes
Views
Likes
Replies