Ticket #8057: 8057.patch
File 8057.patch, 687 bytes (added by , 14 years ago) |
---|
-
_source/plugins/autogrow/plugin.js
34 34 var last = doc.getBody().getLast(); 35 35 36 36 // Last node is not measurable, create a temporary marker element. 37 if ( !last || last.type != CKEDITOR.NODE_ELEMENT || last.is( 'br' ) )37 if ( !last || last.type != CKEDITOR.NODE_ELEMENT || last.is( 'br' ) || !last.isVisible() ) 38 38 { 39 39 last = CKEDITOR.dom.element.createFromHtml( '<span>' + ( CKEDITOR.env.webkit ? ' ' : '' ) + '</span>', doc ); 40 40 doc.getBody().append( last );