Index: _whatsnew.html =================================================================== --- _whatsnew.html (revision 1204) +++ _whatsnew.html (working copy) @@ -57,6 +57,8 @@
See previous versions history Index: editor/_source/classes/fckeditingarea.js =================================================================== --- editor/_source/classes/fckeditingarea.js (revision 1204) +++ editor/_source/classes/fckeditingarea.js (working copy) @@ -45,16 +45,9 @@ var oTargetDocument = FCKTools.GetElementDocument( eTargetElement ) ; // Remove all child nodes from the target. - var oChild ; - while( ( oChild = eTargetElement.firstChild ) ) // Only one "=". - { - // Set innerHTML = '' to avoid memory leak. - if ( oChild.contentWindow ) - oChild.contentWindow.document.body.innerHTML = '' ; + while( eTargetElement.firstChild ) + eTargetElement.removeChild( eTargetElement.firstChild ) ; - eTargetElement.removeChild( oChild ) ; - } - if ( this.Mode == FCK_EDITMODE_WYSIWYG ) { // For FF, document.domain must be set only when different, otherwhise