X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fplugins%2Fwsc%2Fdialogs%2Fwsc.js;h=7bc95dd80f97a3b7d3b4aa59b1103bdbbaf46992;hp=b084384b1daa126fdd96c9e6d72768160ce7241c;hb=614511639979907ceb0da3614122a4d8eb963ad4;hpb=039a051ccf3901311661022a30afd60fc38130c9 diff --git a/_source/plugins/wsc/dialogs/wsc.js b/_source/plugins/wsc/dialogs/wsc.js index b084384..7bc95dd 100644 --- a/_source/plugins/wsc/dialogs/wsc.js +++ b/_source/plugins/wsc/dialogs/wsc.js @@ -23,7 +23,7 @@ CKEDITOR.dialog.add( 'checkspell', function( editor ) ' style="display:none;color:red;font-size:16px;font-weight:bold;padding-top:160px;text-align:center;z-index:11;">' + '' + html : '' } ] } ] }; }); + +// Expand the spell-check frame when dialog resized. (#6829) +CKEDITOR.dialog.on( 'resize', function( evt ) +{ + var data = evt.data, + dialog = data.dialog, + height = data.height; + var content = dialog.getContentElement( 'general', 'content' ).getElement(), + iframe = content && content.getChild( 2 ); + iframe && iframe.setStyle( 'height', height + 'px' ); +});