Ticket #6061: 6061.patch
File 6061.patch, 866 bytes (added by , 14 years ago) |
---|
-
_source/plugins/autogrow/plugin.js
10 10 var resizeEditor = function( editor ) 11 11 { 12 12 var doc = editor.document, 13 documentElement = doc.getDocumentElement().$,14 13 currentHeight = editor.window.getViewPaneSize().height, 15 14 newHeight; 16 15 16 // We can not use documentElement to calculate the height for IE (#6061). 17 17 if ( CKEDITOR.env.ie ) 18 newHeight = doc umentElement.scrollHeight;18 newHeight = doc.getBody().$.scrollHeight + 24; 19 19 else 20 newHeight = doc umentElement.offsetHeight;20 newHeight = doc.getDocumentElement().$.offsetHeight; 21 21 22 22 var min = editor.config.autoGrow_minHeight, 23 23 max = editor.config.autoGrow_maxHeight;