mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 19:42:56 +01:00
Merge pull request #3774 from PmcFizz/patch-4
fix example iframe don't alert
This commit is contained in:
commit
2541de85e4
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ export class Preview
|
||||||
<iframe
|
<iframe
|
||||||
className="full-iframe"
|
className="full-iframe"
|
||||||
key={this.counter}
|
key={this.counter}
|
||||||
sandbox="allow-scripts"
|
sandbox="allow-scripts allow-modals"
|
||||||
frameBorder={0}
|
frameBorder={0}
|
||||||
ref={this.handleIframe}
|
ref={this.handleIframe}
|
||||||
src="./playgroundRunner.html"
|
src="./playgroundRunner.html"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue