feat: add "allowModals" option for iframe widget (#5339)
This commit is contained in:
1 parent
b3e9b3351b
commit
2fefd9da01
3 files changed
+8
-1
No files matched your search
@@ -105,6 +105,10 @@ const getSandboxFlags = (
|
||||
baseSandbox.push("allow-popups-to-escape-sandbox");
|
||||
}
|
||||
|
||||
if (permissions.allowModals) {
|
||||
baseSandbox.push("allow-modals");
|
||||
}
|
||||
|
||||
return baseSandbox;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user