Showing
1 changed file
with
2 additions
and
0 deletions
... | ... | @@ -1703,6 +1703,8 @@ EditorUi.prototype.createPageInsertTab = function() |
1703 | 1703 | mxEvent.addListener(tab, 'click', mxUtils.bind(this, function(evt) |
1704 | 1704 | { |
1705 | 1705 | this.insertPage(); |
1706 | + var formats = PageSetupDialog.getFormats() | |
1707 | + this.editor.graph.pageFormat = formats[0].format | |
1706 | 1708 | mxEvent.consume(evt); |
1707 | 1709 | })); |
1708 | 1710 | ... | ... |