Changeset 1284
- Timestamp:
- 2008-01-11 11:28:22 (2 years ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 3 modified
-
editor/_source/classes/fckdomrange_ie.js (modified) (2 diffs)
-
editor/_source/classes/fckenterkey.js (modified) (2 diffs)
-
_whatsnew.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/classes/fckdomrange_ie.js
r1118 r1284 114 114 bIsStartMakerAlone = ( forceExpand || !eStartMarker.previousSibling || eStartMarker.previousSibling.nodeName.toLowerCase() == 'br' ) && !eStartMarker.nextSibing ; 115 115 116 // Append a temporary <span>& nbsp;</span> before the selection.116 // Append a temporary <span></span> before the selection. 117 117 // This is needed to avoid IE destroying selections inside empty 118 118 // inline elements, like <b></b> (#253). … … 144 144 if ( bIsStartMakerAlone ) 145 145 { 146 // Move the selection start to include the temporary & nbsp;.146 // Move the selection start to include the temporary . 147 147 oIERange.moveStart( 'character', -1 ) ; 148 148 -
FCKeditor/trunk/editor/_source/classes/fckenterkey.js
r1282 r1284 415 415 // boundaries were on separated blocks, or none of them where on the 416 416 // block limits (start/end). 417 if ( ! oSplitInfo.WasStartOfBlock && !oSplitInfo.WasEndOfBlock )417 if ( !bIsStartOfBlock && !bIsEndOfBlock ) 418 418 { 419 419 // If the next block is an <li> with another list tree as the first child … … 488 488 { 489 489 // Move the selection to the new block. 490 oRange.MoveTo NodeContents( eNewBlock ) ;490 oRange.MoveToElementEditStart( eNewBlock ) ; 491 491 oRange.Select() ; 492 492 } -
FCKeditor/trunk/_whatsnew.html
r1239 r1284 46 46 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1643">#1643</a>] Resolved 47 47 several "strict warning" messages in Firefox when running FCKeditor.</li> 48 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1522">#1522</a>] The ENTER 49 key will now work properly in IE with the cursor at the start of a formatted block.</li> 48 50 </ul> 49 51 <p>