Skip to content

Commit 8dd1735

Browse files
committed
fix(example): add allow-downloads to iframe sandbox
1 parent 6cd34d2 commit 8dd1735

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/main/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ <h1>canvas-editor-plugin-example</h1>
1515
style="width:100%; height:80vh; border:0; border-radius: 4px; overflow:hidden;"
1616
title="nostalgic-grothendieck-fwm59s"
1717
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"
18-
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"></iframe>
18+
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts allow-downloads"></iframe>
1919
</main>
2020
</div>
2121
<script type="module" src="/src/main.ts"></script>

0 commit comments

Comments
 (0)