Changeset 5102
- Timestamp:
- 2010-02-12 12:48:59 (2 years ago)
- Location:
- CKEditor/trunk
- Files:
-
- 2 edited
-
CHANGES.html (modified) (1 diff)
-
_source/plugins/selection/plugin.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/trunk/CHANGES.html
r5101 r5102 88 88 <li><a href="http://dev.fckeditor.net/ticket/5123">#5123</a> : Fixed broken XHTML in User Interface Languages sample.</li> 89 89 <li><a href="http://dev.fckeditor.net/ticket/4893">#4893</a> : Editor should understand table cell inline styles.</li> 90 <li><a href="http://dev.fckeditor.net/ticket/4611">#4611</a> : Selection around <select> in editor doesn't anymore cause error.</li> 90 91 <li>Updated the following language files:<ul> 91 92 <li><a href="http://dev.fckeditor.net/ticket/5006">#5006</a> : Dutch;</li> -
CKEditor/trunk/_source/plugins/selection/plugin.js
r5100 r5102 507 507 var distance = testRange.text.replace( /(\r\n|\r)/g, '\n' ).length; 508 508 509 while ( distance > 0 ) 510 distance -= siblings[ --i ].nodeValue.length; 509 try 510 { 511 while ( distance > 0 ) 512 distance -= siblings[ --i ].nodeValue.length; 513 } 514 // Measurement in IE could be somtimes wrong because of <select> element. (#4611) 515 catch( e ) 516 { 517 distance = 0; 518 } 519 511 520 512 521 if ( distance === 0 )
Note: See TracChangeset
for help on using the changeset viewer.
