Ticket #6829: 6829.patch
File 6829.patch, 1.5 KB (added by , 13 years ago) |
---|
-
_source/plugins/wsc/dialogs/wsc.js
23 23 ' style="display:none;color:red;font-size:16px;font-weight:bold;padding-top:160px;text-align:center;z-index:11;">' + 24 24 '</div><iframe' + 25 25 ' src=""' + 26 ' style="width: 485px;background-color:#f1f1e3;height:380px"' +26 ' style="width:100%;background-color:#f1f1e3;"' + 27 27 ' frameborder="0"' + 28 28 ' name="' + iframeId + '"' + 29 29 ' id="' + iframeId + '"' + … … 129 129 { 130 130 var contentArea = this.getContentElement( 'general', 'content' ).getElement(); 131 131 contentArea.setHtml( pasteArea ); 132 contentArea.getChild( 2 ).setStyle( 'height', this._.contentSize.height + 'px' ); 132 133 133 134 if ( typeof( window.doSpell ) != 'function' ) 134 135 { … … 166 167 { 167 168 type : 'html', 168 169 id : 'content', 169 style : 'width:485;height:380px', 170 html : '<div></div>' 170 html : '' 171 171 } 172 172 ] 173 173 } 174 174 ] 175 175 }; 176 176 }); 177 178 // Expand the spell-check frame when dialog resized. (#6829) 179 CKEDITOR.dialog.on( 'resize', function( evt ) 180 { 181 var data = evt.data, 182 dialog = data.dialog, 183 height = data.height; 184 var content = dialog.getContentElement( 'general', 'content' ).getElement(), 185 iframe = content && content.getChild( 2 ); 186 iframe && iframe.setStyle( 'height', height + 'px' ); 187 }); 188