Ticket #2287: table_spacing_empty_paragraph.patch

File table_spacing_empty_paragraph.patch, 761 bytes (added by Davey Shafik, 16 years ago)

Table Spacing Patch

  • editor/_source/classes/fckdomrange.js

     
    867867                // Move the contents of the temporary range to the fixed block.
    868868                this.ExtractContents().AppendTo( oFixedBlock ) ;
    869869                FCKDomTools.TrimNode( oFixedBlock ) ;
     870               
     871                if (FCKDomTools.CheckIsEmptyElement(oFixedBlock, function ( element ) { if ( element.getAttribute('_fck_bookmark') == 'true' ) { return false; } else { return true; } }))
     872                        if ( FCKBrowserInfo.IsGeckoLike )
     873                                FCKTools.AppendBogusBr( oFixedBlock ) ;
    870874
    871875                // Insert the fixed block into the DOM.
    872876                this.InsertNode( oFixedBlock ) ;
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy