Ticket #8050: 8050.patch

File 8050.patch, 544 bytes (added by Garry Yao, 9 years ago)
  • _source/plugins/autogrow/plugin.js

     
    4141                        last.isMarker = 1;
    4242                }
    4343
    44                 var height = last.getDocumentPosition( doc ).y + last.$.offsetHeight;
     44                var height = last.getDocumentPosition( doc ).y + last.$.offsetHeight + parseInt( last.getComputedStyle( 'margin-bottom' ) || 0, 10 );
    4545                last.isMarker && last.remove();
    4646                return height;
    4747        }
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy