Changeset 6912


Ignore:
Timestamp:
05/11/11 07:00:35 (3 years ago)
Author:
garry.yao
Message:

#7620: Fix broken child refs when filtering.

Location:
CKEditor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/CHANGES.html

    r6911 r6912  
    4646        <ul> 
    4747                <li><a href="http://dev.ckeditor.com/ticket/7657">#7657</a> : Wrong margin mirroring when creating list from RTL paragraphs.</li> 
     48                <li><a href="http://dev.ckeditor.com/ticket/7620">#7620</a> : Some glitch in list pasting from Microsoft Word.</li> 
    4849        </ul> 
    4950        <h3> 
  • CKEditor/trunk/_source/core/htmlparser/element.js

    r6557 r6912  
    164164                                        if ( !writeName ) 
    165165                                        { 
     166                                                // Fix broken parent refs. 
     167                                                for ( i = 0 ; i < this.children.length ; i++ ) 
     168                                                        this.children[ i ].parent = element.parent; 
     169 
    166170                                                this.writeChildrenHtml.call( element, writer, isChildrenFiltered ? null : filter ); 
    167171                                                return; 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy