Ticket #7360: 7360_2.patch
File 7360_2.patch, 812 bytes (added by , 12 years ago) |
---|
-
_source/plugins/wysiwygarea/plugin.js
546 546 CKEDITOR.event.useCapture = false; 547 547 548 548 mainElement.append( iframe ); 549 550 // Webkit: iframe size doesn't auto fit well. (#7360) 551 if ( CKEDITOR.env.webkit ) 552 { 553 var win = CKEDITOR.document.getWindow(); 554 function onResize() 555 { 556 iframe.hide(); 557 iframe.setSize( 'width', mainElement.getSize( 'width' ) ); 558 iframe.show(); 559 } 560 win.on( 'resize', onResize ); 561 } 549 562 }; 550 563 551 564 // The script that launches the bootstrap logic on 'domReady', so the document