Changeset 5301


Ignore:
Timestamp:
03/26/10 12:47:14 (5 years ago)
Author:
garry.yao
Message:

#5374: Shrink the range after applying inline style to exclude empty nodes.

Location:
CKEditor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/CHANGES.html

    r5300 r5301  
    106106                <li><a href="http://dev.fckeditor.net/ticket/5319">#5319</a> : Match whole word doesn't work after replacement happened.</li>
    107107                <li><a href="http://dev.fckeditor.net/ticket/5363">#5363</a> : 'title' attribute now presents on all editor iframes.</li>
     108                <li><a href="http://dev.fckeditor.net/ticket/5374">#5374</a> : Unable to toggle inline style when selection start from the linefeed of the previous paragraph.</li>
    108109                <li>Updated the following language files:<ul>
    109110                        <li>Faroese;</li>
  • CKEditor/trunk/_source/plugins/styles/plugin.js

    r5291 r5301  
    570570                marker && marker.remove();
    571571                range.moveToBookmark( bookmark );
     572                // Minimize the result range to exclude empty text nodes. (#5374)
     573                range.shrink( CKEDITOR.SHRINK_TEXT );
    572574        }
    573575
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2015 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy