Ticket #2009: 2009.patch
File 2009.patch, 1.4 KB (added by , 16 years ago) |
---|
-
_whatsnew.html
67 67 Fixed XHTML source formatting errors in non-IE browsers.</li> 68 68 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2000">#2000</a>] The # 69 69 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> 70 73 </ul> 71 74 <h3> 72 75 Version 2.6 Beta 1</h3> -
editor/_source/classes/fckstyle.js
278 278 279 279 if ( updateRange ) 280 280 range.MoveToBookmark( bookmark ) ; 281 282 return ; 281 283 } 282 284 283 285 // Expand the range, if inside inline element boundaries. 284 286 range.Expand( 'inline_elements' ) ; 285 287 286 288 // Bookmark the range so we can re-select it after processing. 287 varbookmark = range.CreateBookmark( true ) ;289 bookmark = range.CreateBookmark( true ) ; 288 290 289 291 // The style will be applied within the bookmark boundaries. 290 292 var startNode = range.GetBookmarkNode( bookmark, true ) ;