Changeset 1511
- Timestamp:
- 02/14/08 11:51:07 (5 years ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 2 edited
-
_whatsnew.html (modified) (1 diff)
-
editor/_source/classes/fckdomrangeiterator.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/_whatsnew.html
r1510 r1511 91 91 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1854">#1854</a>] Indentation now works inside 92 92 table cells.</li> 93 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1717">#1717</a>] The editor 94 was entering on looping on some specific cases when dealing with invalid source 95 markup.</li> 93 96 </ul> 94 97 <p> -
FCKeditor/trunk/editor/_source/classes/fckdomrangeiterator.js
r1409 r1511 92 92 var currentNode = this._NextNode ; 93 93 var lastNode = this._LastNode ; 94 95 this._NextNode = null ; 94 96 95 97 while ( currentNode ) … … 129 131 // including possibly skipped empty spaces. (#1603) 130 132 if ( range ) 133 { 131 134 range.SetEnd( currentNode, 3, true ) ; 135 136 // The found boundary must be set as the next one at this 137 // point. (#1717) 138 if ( nodeName != 'br' ) 139 this._NextNode = currentNode ; 140 } 132 141 133 142 closeRange = true ; … … 311 320 // above block can be removed or changed, so we can rely on it for the 312 321 // next interation. 313 this._NextNode = ( isLast || block == lastNode ) ? null : FCKDomTools.GetNextSourceNode( block, true, null, lastNode ) ; 322 if ( !this._NextNode ) 323 this._NextNode = ( isLast || block == lastNode ) ? null : FCKDomTools.GetNextSourceNode( block, true, null, lastNode ) ; 314 324 315 325 return block ;
Note: See TracChangeset
for help on using the changeset viewer.
