Skip to content

Commit

Permalink
feat(apps): allow links to open popups (#11)
Browse files Browse the repository at this point in the history
Signed-off-by: Radek Ježek <[email protected]>
  • Loading branch information
jezekra1 authored Dec 12, 2024
1 parent b686a60 commit c8f90c8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/modules/artifacts/ArtifactSharedIframe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,13 @@ export function ArtifactSharedIframe({ artifact, token }: Props) {
ref={iframeRef}
src={USERCONTENT_SITE_URL}
title="Bee Artifact"
sandbox="allow-scripts allow-downloads allow-same-origin"
sandbox={[
'allow-scripts',
'allow-downloads',
'allow-same-origin',
'allow-popups',
'allow-popups-to-escape-sandbox',
].join(' ')}
className="h-full w-full"
onLoad={handleIframeLoad}
/>
Expand Down

0 comments on commit c8f90c8

Please sign in to comment.