Changeset 7167


Ignore:
Timestamp:
08/02/2011 12:02:15 PM (3 years ago)
Author:
garry.yao
Message:

Fix list pasting in IE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/branches/features/v4-paste/_source/core/htmlparser/fragment.js

    r7153 r7167  
    412412                        } 
    413413 
     414                        // Close elements that doesn't accept text. 
     415                        var dtd; 
     416                        while ( ( dtd = CKEDITOR.dtd[ currentNode.name ] ) && !dtd[ '#' ] ) 
     417                                addElement( currentNode, currentNode.parent, 1 ); 
     418 
    414419                        sendPendingBRs(); 
    415420                        checkPending(); 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy