Allow editor frame fullscreen
This commit is contained in:
parent
02b74b9a52
commit
8ccb8e374b
1 changed files with 2 additions and 1 deletions
|
@ -51,8 +51,9 @@
|
|||
|
||||
var editorWindow;
|
||||
|
||||
var $editorFrame = $('<iframe id="editor-frame"/>')
|
||||
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 || {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue