Ticket #5374: 5374.patch

File 5374.patch, 529 bytes (added by Garry Yao, 10 years ago)
  • _source/plugins/styles/plugin.js

     
    569569                // Remove the temporary marking node.(#4111)
    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
    574576        function removeInlineStyle( range )
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy