Ticket #2009: 2009.patch

File 2009.patch, 1.4 KB (added by Frederico Caldeira Knabben, 16 years ago)
  • _whatsnew.html

     
    6767                        Fixed XHTML source formatting errors in non-IE browsers.</li>
    6868                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2000">#2000</a>] The #
    6969                        character is now properly encoded in file names returned by the File Browser.</li>
     70                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2009">#2009</a>] Fixed
     71                        an important bug regarding styles removal on styled text boundaries, introduced
     72                        with the 2.6 Beta 1. </li>
    7073        </ul>
    7174        <h3>
    7275                Version 2.6 Beta 1</h3>
  • editor/_source/classes/fckstyle.js

     
    278278
    279279                        if ( updateRange )
    280280                                range.MoveToBookmark( bookmark ) ;
     281
     282                        return ;
    281283                }
    282284
    283285                // Expand the range, if inside inline element boundaries.
    284286                range.Expand( 'inline_elements' ) ;
    285287
    286288                // Bookmark the range so we can re-select it after processing.
    287                 var bookmark = range.CreateBookmark( true ) ;
     289                bookmark = range.CreateBookmark( true ) ;
    288290
    289291                // The style will be applied within the bookmark boundaries.
    290292                var startNode   = range.GetBookmarkNode( bookmark, true ) ;
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy