Allow editor frame fullscreen

This commit is contained in:
Dominique Da Silva 2019-11-09 01:49:29 +00:00
parent 02b74b9a52
commit 8ccb8e374b

View file

@ -53,6 +53,7 @@
var $editorFrame = $('<iframe id="editor-frame" />')
.attr('src', '/{{editorName}}/editor?id={{id}}&type=' + type)
.attr('allowfullscreen', 'true')
.on('load', function() {
editorWindow = $editorFrame[0].contentWindow;
editorWindow.bridge = editorWindow.bridge || {};