Skip to content

Commit af4046f

Browse files
committed
Fixed the addIframe method so it'll set the page size to match the iframe.
1 parent 05884d6 commit af4046f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ CKEditor 4 Changelog
66
* [#5189](http://dev.ckeditor.com/ticket/5189): Find/Replace dialog: rename button to "Close".
77
* [#10562](http://dev.ckeditor.com/ticket/10562): [Housekeeping] CSS gradient filters in Moono.
88
* [#10537](http://dev.ckeditor.com/ticket/10537): ACF should register default rule for `config.shiftEnterMode`.
9+
* [#10610](http://dev.ckeditor.com/ticket/10610): CKEDITOR.dialog.addIframe will not fill the dialog with the iframe.
910

1011
## CKEditor 4.1.2
1112

plugins/iframedialog/plugin.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ CKEDITOR.plugins.add( 'iframedialog', {
7777
id: 'iframe',
7878
label: title,
7979
expand: true,
80-
elements: [ element ]
80+
elements: [ element ],
81+
style: 'width:' + element.width + ';height:' + element.height
8182
}
8283
]
8384
};

0 commit comments

Comments
 (0)