iframes: add allow-forms flag; disable all pointer events when editor is enabled

This commit is contained in:
bordun 2020-05-11 13:38:56 +02:00
parent 75e9906d8f
commit 4946737b95
2 changed files with 5 additions and 1 deletions

View file

@ -30,7 +30,7 @@ class Frame extends StaticProperties(Widget, {bypass: true}) {
super({...options, html: html`
<inner>
<iframe class="frame" src="" sandbox="allow-scripts allow-same-origin"></iframe>
<iframe class="frame" src="" sandbox="allow-scripts allow-same-origin allow-forms"></iframe>
</inner>`
})