Changeset 6393


Ignore:
Timestamp:
01/31/11 08:57:42 (4 years ago)
Author:
tobiasz.cudnik
Message:

#7098 Creating an element over a selection that starts at text nodes throws an error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/_source/core/dom/range.js

    r6391 r6393  
    249249 
    250250                                // Merge splitted parents. 
    251                                 if ( mergeThen ) 
     251                                if ( mergeThen && topStart.type == CKEDITOR.NODE_ELEMENT ) 
    252252                                { 
    253253                                        var span = CKEDITOR.dom.element.createFromHtml( '<span ' + 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy