Posted by fredck on Tue 15 Jul 08:43
report abuse | download | new post
- Index: D:/FCKeditor/SVN/FCKeditor/local/editor/_source/internals/fck.js
- ===================================================================
- --- D:/FCKeditor/SVN/FCKeditor/local/editor/_source/internals/fck.js (revision 2221)
- +++ D:/FCKeditor/SVN/FCKeditor/local/editor/_source/internals/fck.js (working copy)
- -1111,8 +1111,10 @@
- {
- if ( typeof( this.Elements[i] ) == 'string' )
- {
- - node.innerHTML = this.Elements[i] ;
- - this.Elements[i] = node.firstChild ;
- + // For IE, we need to do this trick to avoid loosing comment
- + // only HTML.
- + node.innerHTML = '<div> </div>' + this.Elements[i] ;
- + this.Elements[i] = node.removeChild( node.childNodes[1] ) ;
- }
- }
- }
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.