Changeset 5745


Ignore:
Timestamp:
07/26/2010 10:34:11 PM (4 years ago)
Author:
fredck
Message:

#6006 : A js error was being thrown when creating links on empty documents.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/branches/versions/3.4.x/_source/plugins/styles/plugin.js

    r5744 r5745  
    542542                } 
    543543 
    544                 firstNode.remove(); 
    545                 lastNode.remove(); 
     544                // Remove the bookmark nodes. 
     545                range.moveToBookmark( boundaryNodes ); 
    546546 
    547547                // Minimize the result range to exclude empty text nodes. (#5374) 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy