Open hajimehoshi opened 6 years ago
Can the iframe have sandbox attribute? Now a Go script can break the editor itself. I think the necessary value is allow-forms allow-scripts allow-modals allow-popups.
allow-forms allow-scripts allow-modals allow-popups
Good plan. I'll look into this.
https://play.jsgo.io/74145193d42f64d1e37698d937a458cada01b9c3 example to destroy the editor
Can the iframe have sandbox attribute? Now a Go script can break the editor itself. I think the necessary value is
allow-forms allow-scripts allow-modals allow-popups
.