Hi. We made a custom HTML field for a card list and it shows attachments.
Some are too big to show inline and we want to give them a link. This works.. but for some reason the target predicate get stripped with the result that the link doesn't open in a new tab/window.
How can we solve this? Deep linking to a preview component is not supported yet right?
Best answer by Leroy Witteveen
Hi @Freddy,
I see the cardlist and grid indeed behave differently. In the form, the target attribute actually first gets stripped too, but after that every link will receive target=”_blank” so URLs open in a new tab. The same should probably be done for the cardlist and grid. Could you create a ticket for this in TCP please?
Can you send an example HTML snippet in which the target attribute would be stripped? If I insert the following HTML into the database and open it in Universal in a HTML control, it opens google.com in a new tab if I click the link:
Can you send an example HTML snippet in which the target attribute would be stripped? If I insert the following HTML into the database and open it in Universal in a HTML control, it opens google.com in a new tab if I click the link:
I see the cardlist and grid indeed behave differently. In the form, the target attribute actually first gets stripped too, but after that every link will receive target=”_blank” so URLs open in a new tab. The same should probably be done for the cardlist and grid. Could you create a ticket for this in TCP please?
I see the cardlist and grid indeed behave differently. In the form, the target attribute actually first gets stripped too, but after that every link will receive target=”_blank” so URLs open in a new tab. The same should probably be done for the cardlist and grid. Could you create a ticket for this in TCP please?