mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-01-26 16:58:50 +08:00
Allow target _blank links inside iframe (#1203)
This commit is contained in:
parent
cf0ff5a5a7
commit
fb13c9cf22
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-scripts allow-same-origin allow-downloads allow-modals allow-popups";
|
||||
iframe.allow =
|
||||
"accelerometer; ambient-light-sensor; camera; display-capture; encrypted-media; geolocation; gyroscope; microphone; midi; usb; xr-spatial-tracking";
|
||||
iframe.src = url;
|
||||
|
|
Loading…
Reference in a new issue