Changeset 1219
- Timestamp:
- 2007-12-18 11:36:34 (2 years ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 3 modified
-
editor/_source/classes/fckenterkey.js (modified) (2 diffs)
-
editor/_source/internals/fckdomtools.js (modified) (2 diffs)
-
_whatsnew.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/classes/fckenterkey.js
r1152 r1219 462 462 if ( elementPath ) 463 463 { 464 var eFocusElement = eNewBlock ;465 464 for ( var i = 0, len = elementPath.Elements.length ; i < len ; i++ ) 466 465 { … … 469 468 if ( element == elementPath.Block || element == elementPath.BlockLimit ) 470 469 break ; 471 470 472 471 if ( FCKListsLib.InlineChildReqElements[ element.nodeName.toLowerCase() ] ) 473 eFocusElement = eFocusElement.appendChild( FCKDomTools.CloneElement( element ) ) ; 472 { 473 element = FCKDomTools.CloneElement( element ) ; 474 FCKDomTools.MoveChildren( eNewBlock, element ) ; 475 eNewBlock.appendChild( element ) ; 476 } 474 477 } 475 478 } -
FCKeditor/trunk/editor/_source/internals/fckdomtools.js
r1152 r1219 24 24 var FCKDomTools = 25 25 { 26 /** 27 * Move all child nodes from one node to another. 28 */ 26 29 MoveChildren : function( source, target, toTargetStart ) 27 30 { … … 979 982 } ; 980 983 984 -
FCKeditor/trunk/_whatsnew.html
r1218 r1219 62 62 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1603">#1603</a>] Certain 63 63 specific markup was making FCKeditor entering in a loop, blocking its execution.</li> 64 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1664">#1664</a>] The ENTER 65 key will not any more swap the order of the tags when hit at the end of paragraphs.</li> 64 66 </ul> 65 67 <p>