From 42d96607f0f01fbdf41bc73c3ef1862f61b99a65 Mon Sep 17 00:00:00 2001 From: Nicola Heald Date: Mon, 3 Jul 2017 10:20:50 +0100 Subject: [PATCH] Allow presentation from sandboxed iframe to fix error in Chrome --- components/sandbox/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/sandbox/index.js b/components/sandbox/index.js index 630939c92b6e4..2b52f3d146722 100644 --- a/components/sandbox/index.js +++ b/components/sandbox/index.js @@ -154,7 +154,7 @@ export default class Sandbox extends wp.element.Component { ref={ ( node ) => this.iframe = node } title={ this.props.title } scrolling="no" - sandbox="allow-scripts allow-same-origin" + sandbox="allow-scripts allow-same-origin allow-presentation" onLoad={ this.trySandbox } width={ this.state.width } height={ this.state.height } />