Ticket #1654: 1654.patch
File 1654.patch, 1.6 KB (added by , 16 years ago) |
---|
-
_whatsnew.html
57 57 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/339">#339</a>] [<a 58 58 target="_blank" href="http://dev.fckeditor.net/ticket/681">#681</a>] The SpellerPages 59 59 spell checker will now completely ignore the presence of HTML tags in the text.</li> 60 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1654">#1654</a>] The editor 61 was not loading on an specific unknown situation. The breaking point has been removed.</li> 60 62 </ul> 61 63 <p> 62 64 <a href="_whatsnew_history.html">See previous versions history</a> -
editor/_source/classes/fckeditingarea.js
45 45 var oTargetDocument = FCKTools.GetElementDocument( eTargetElement ) ; 46 46 47 47 // Remove all child nodes from the target. 48 var oChild ; 49 while( ( oChild = eTargetElement.firstChild ) ) // Only one "=". 50 { 51 // Set innerHTML = '' to avoid memory leak. 52 if ( oChild.contentWindow ) 53 oChild.contentWindow.document.body.innerHTML = '' ; 48 while( eTargetElement.firstChild ) 49 eTargetElement.removeChild( eTargetElement.firstChild ) ; 54 50 55 eTargetElement.removeChild( oChild ) ;56 }57 58 51 if ( this.Mode == FCK_EDITMODE_WYSIWYG ) 59 52 { 60 53 // For FF, document.domain must be set only when different, otherwhise