Ticket #2287: 2287.patch
File 2287.patch, 833 bytes (added by , 16 years ago) |
---|
-
editor/_source/classes/fckdomrange.js
867 867 // Move the contents of the temporary range to the fixed block. 868 868 this.ExtractContents().AppendTo( oFixedBlock ) ; 869 869 FCKDomTools.TrimNode( oFixedBlock ) ; 870 871 // If the fixed block is empty (not counting bookmark nodes) 872 // Add a <br /> inside to expand it. 873 if ( FCKDomTools.CheckIsEmptyElement(oFixedBlock, function( element ) { return element.getAttribute('_fck_bookmark') != 'true' ; } ) 874 && FCKBrowserInfo.IsGeckoLike ) 875 FCKTools.AppendBogusBr( oFixedBlock ) ; 870 876 871 877 // Insert the fixed block into the DOM. 872 878 this.InsertNode( oFixedBlock ) ;