Changeset 1136
- Timestamp:
- 2007-11-29 10:12:40 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/classes/fckeditingarea.js
r1134 r1136 310 310 311 311 // Only apply the fix when in a block, and the block is empty. 312 if ( parentNode.childNodes.length > 0 || 313 !( FCKListsLib.BlockElements[parentTag] || 314 FCKListsLib.NonEmptyBlockElements[parentTag] ) ) 315 { 316 return ; 312 if ( parentTag != 'body' ) 313 { 314 if ( parentNode.childNodes.length > 0 || 315 !( FCKListsLib.BlockElements[parentTag] || 316 FCKListsLib.NonEmptyBlockElements[parentTag] ) ) 317 return ; 317 318 } 318 319