refac: iframe include allow-downloads by default
This commit is contained in:
1 parent
76fe344eb8
commit
8e139b04f0
2 files changed
+2
-2
No files matched your search
@@ -335,7 +335,7 @@
|
||||
title="Content"
|
||||
srcdoc={contents[selectedContentIdx].content}
|
||||
class="w-full border-0 h-full rounded-none"
|
||||
sandbox="allow-scripts{($settings?.iframeSandboxAllowForms ?? false)
|
||||
sandbox="allow-scripts allow-downloads{($settings?.iframeSandboxAllowForms ?? false)
|
||||
? ' allow-forms'
|
||||
: ''}{($settings?.iframeSandboxAllowSameOrigin ?? false)
|
||||
? ' allow-same-origin'
|
||||
|
||||
Reference in new issue
Block a user