mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-07 20:16:31 +08:00
Allow form submissions in iframe (#2168)
This commit is contained in:
parent
7d7e21e44e
commit
e90c924082
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ export function initializeIframeSource(iframe, iframePort, iframeUrl) {
|
|||
|
||||
return verifyIframeSource(url).then(() => {
|
||||
iframe.sandbox =
|
||||
"allow-scripts allow-same-origin allow-downloads allow-modals allow-popups allow-top-navigation";
|
||||
"allow-scripts allow-same-origin allow-downloads allow-forms allow-modals allow-popups allow-top-navigation";
|
||||
iframe.allow =
|
||||
"accelerometer; ambient-light-sensor; camera; display-capture; encrypted-media; fullscreen; geolocation; gyroscope; microphone; midi; usb; xr-spatial-tracking; clipboard-read; clipboard-write";
|
||||
iframe.src = url;
|
||||
|
|
Loading…
Add table
Reference in a new issue