Changeset 208
- Timestamp:
- 2007-03-14 13:15:00 (21 months ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 2 modified
-
editor/_source/classes/fckenterkey.js (modified) (1 diff)
-
_whatsnew.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/classes/fckenterkey.js
r207 r208 351 351 else 352 352 { 353 // If is a header tag, create a new block element. 354 if ( (/^H[1-6]$/).test( sStartBlockTag ) ) 353 // If is a header tag, or we are in a Shift+Enter (#77), 354 // create a new block element. 355 if ( (/^H[1-6]$/).test( sStartBlockTag ) || this._HasShift ) 355 356 eNewBlock = this.Window.document.createElement( blockTag ) ; 356 357 // Otherwise, duplicate the current block. -
FCKeditor/trunk/_whatsnew.html
r207 r208 108 108 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/213">#213</a>] Styles 109 109 are now preserved when hitting enter at the end of a paragraph.</li> 110 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/77">#77</a>] If ShiftEnterMode 111 is set to a block tag (p or div), the desired block creation in now enforced, instead 112 of copying the current block (which is still the behavior of the simple enter).</li> 110 113 </ul> 111 114 <h3>