Changeset 2308 for FCKeditor/trunk

Show
Ignore:
Timestamp:
2008-07-31 06:04:46 (5 months ago)
Author:
martinkou
Message:

Fixed #2407 : Fixed the issue where FCK.InsertHtml() is no longer removing selected contents after content insertion in Firefox.

Location:
FCKeditor/trunk
Files:
2 modified

Legend:

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

    r2279 r2308  
    372372                range = new FCKDomRange( this.EditorWindow ) ; 
    373373                range.MoveToSelection() ; 
     374                range.DeleteContents() ; 
    374375                range.InsertNode( docFrag.RootNode ) ; 
    375376 
  • FCKeditor/trunk/_whatsnew.html

    r2289 r2308  
    4343                Fixed Bugs:</p> 
    4444        <ul> 
    45                 <li></li> 
     45                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2407">#2407</a>] Fixed the issue  
     46                        where FCK.InsertHtml() is no longer removing selected contents after content insertion 
     47                        in Firefox.</li> 
    4648        </ul> 
    4749        <h3>