Changeset 253

Show
Ignore:
Timestamp:
2007-04-16 22:10:24 (19 months ago)
Author:
alfonsoml
Message:

Fix for #325. Paragraphs created in Firefox were cleaned up of the contents and visually collapsed the rendering on a call to GetXHTML.

Location:
FCKeditor/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/_source/internals/fckdomtools.js

    r216 r253  
    7979                                        { 
    8080                                                node.removeChild( eChildNode ) ; 
     81 
     82                                                // If the node now is empty then append a   to visually keep the same appearance (#325) 
     83                                                if ( node.lastChild === null && FCKConfig.FillEmptyBlocks ) 
     84                                                        node.appendChild( FCKTools.GetElementDocument( node ).createTextNode( String.fromCharCode(160) ) ); 
    8185                                                continue ; 
    8286                                        } 
  • FCKeditor/trunk/_whatsnew.html

    r252 r253  
    5454                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/338">#338</a>] Creating links in 
    5555                        lines separated by &lt;br&gt; in IE can lead to a merge of the links.</li> 
     56                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/325">#325</a>] Calling the GetXHTML 
     57                        can distort visually the rendering in Firefox.</li> 
    5658        </ul> 
    5759        <h3>