Allow Downloads From Embeds (#3447)

* add flag to iframe

* ignore changes

* remove double space
This commit is contained in:
Gerardo Mathus
2022-04-23 19:28:35 -05:00
committed by GitHub
parent 044d551b60
commit 19ffff6fd2
2 changed files with 13 additions and 7 deletions

View File

@@ -71,7 +71,7 @@ class Frame extends React.Component<PropsWithRef> {
<Iframe
ref={forwardedRef}
$withBar={withBar}
sandbox="allow-same-origin allow-scripts allow-popups allow-forms"
sandbox="allow-same-origin allow-scripts allow-popups allow-forms allow-downloads"
width={width}
height={height}
frameBorder="0"

View File

@@ -77,12 +77,18 @@
"Draft": "Draft",
"Template": "Template",
"New doc": "New doc",
"deleted": "deleted",
"archived": "archived",
"created": "created",
"published": "published",
"saved": "saved",
"updated": "updated",
"You deleted": "You deleted",
"{{ userName }} deleted": "{{ userName }} deleted",
"You archived": "You archived",
"{{ userName }} archived": "{{ userName }} archived",
"You created": "You created",
"{{ userName }} created": "{{ userName }} created",
"You published": "You published",
"{{ userName }} published": "{{ userName }} published",
"You saved": "You saved",
"{{ userName }} saved": "{{ userName }} saved",
"You updated": "You updated",
"{{ userName }} updated": "{{ userName }} updated",
"Never viewed": "Never viewed",
"Viewed": "Viewed",
"in": "in",