Changeset 184
- Timestamp:
- 2007-03-02 18:59:20 (21 months ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 2 modified
-
editor/_source/classes/fckenterkey.js (modified) (2 diffs)
-
_whatsnew.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/classes/fckenterkey.js
r132 r184 273 273 } 274 274 275 FCKEnterKey.prototype._ExecuteEnterBlock = function( blockTag )275 FCKEnterKey.prototype._ExecuteEnterBlock = function( blockTag, range ) 276 276 { 277 277 // Get the current selection. 278 var oRange = new FCKDomRange( this.Window ) ; 279 oRange.MoveToSelection() ; 278 var oRange = range || new FCKDomRange( this.Window ) ; 279 280 // If we don't have a range, move it to the selection. 281 if ( !range ) 282 oRange.MoveToSelection() ; 280 283 281 284 // The selection boundaries must be in the same "block limit" element. … … 437 440 438 441 if ( !bHasShift && sStartBlockTag == 'LI' ) 439 return this._ExecuteEnterBlock( null ) ;442 return this._ExecuteEnterBlock( null, oRange ) ; 440 443 441 444 // If we are at the end of a header block. -
FCKeditor/trunk/_whatsnew.html
r175 r184 91 91 it was not possible to paste if "Allow paste operation via script" was disabled 92 92 in the browser security settings.</li> 93 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/112">#112</a>] The enter 94 key now behaves correctly on lists with Firefox, when the EnterMode is set to 'br'.</li> 93 95 </ul> 94 96 <h3>