Commit 1cc50d40 authored by Yuri Mikhin's avatar Yuri Mikhin

Add allow-popups attr to sandbox iframe in the Marketplace.

parent a6a4d4fe
...@@ -25,9 +25,9 @@ const MarketplaceApp = ({ app, isLoading }: Props) => { ...@@ -25,9 +25,9 @@ const MarketplaceApp = ({ app, isLoading }: Props) => {
const sandboxAttributeValue = 'allow-forms allow-orientation-lock ' + const sandboxAttributeValue = 'allow-forms allow-orientation-lock ' +
'allow-pointer-lock allow-popups-to-escape-sandbox ' + 'allow-pointer-lock allow-popups-to-escape-sandbox ' +
'allow-same-origin allow-scripts ' + 'allow-same-origin allow-scripts ' +
'allow-top-navigation-by-user-activation'; 'allow-top-navigation-by-user-activation allow-popups';
const allowAttributeValue = 'clipboard-read; clipboard-write'; const allowAttributeValue = 'clipboard-read; clipboard-write;';
useEffect(() => { useEffect(() => {
if (app && !isFrameLoading) { if (app && !isFrameLoading) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment