Skip to content

Commit 2693720

Browse files
authored
Merge pull request #1901 from processing/bug/save-canvas
[#1899] Add allow-downloads to iframe sandbox attributes
2 parents 290a3b7 + d2ba342 commit 2693720

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/modules/IDE/components/PreviewFrame.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function PreviewFrame({ fullView }) {
2323

2424
const frameUrl = previewUrl;
2525
const sandboxAttributes = `allow-forms allow-modals allow-pointer-lock allow-popups
26-
allow-same-origin allow-scripts allow-top-navigation-by-user-activation`;
26+
allow-same-origin allow-scripts allow-top-navigation-by-user-activation allow-downloads`;
2727
const allow =
2828
'accelerometer; autoplay; camera; encrypted-media; geolocation; gyroscope; microphone; magnetometer; midi; vr;';
2929
return (

0 commit comments

Comments
 (0)