Closed jrlarano closed 6 months ago
Hi @mortenbo, can we merge this now?
It's in prod now but I have one change needed: link and embed_link are now strings. So if embed_link is set, use that. If else link is set, use that.
@mortenbo here's how it should look like now 🙂
@jrlarano Super, what about if link?
Link is like this 🙂
OK, great. We need to fix this: https://github.com/tjek/tjek-js-sdk/pull/225/files#diff-56e8833b30816a4984798688ef87a98d9e5093e18e1ba083ebe1446d64b54e9bR75. You need to set sandbox="allow-scripts allow-same-origin"
Otherwise, it's fine to merge and deploy if @klarstrup agrees with the PR.
@klarstrup Once deployed, I'd like to get this into Vizsla too.
Is this a regression?
no that test just sucks
Note: PageDecorations should be passed on applyHotspots to render its hotspost similar to normal hotspots
Eg: bootstrapper.applyHotspots(sgnViewer, hotspots, sgnPageDecorations);