Changeset 825
- Timestamp:
- 09/15/07 13:25:53 (6 years ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 3 edited
-
_whatsnew.html (modified) (1 diff)
-
editor/_source/classes/fckelementpath.js (modified) (1 diff)
-
editor/_source/classes/fckenterkey.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/_whatsnew.html
r811 r825 217 217 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/68">#68</a>] The style 218 218 system now properly handles Format styles when EnterMode=br.</li> 219 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/525">#525</a>] The union 220 if successive DIVs will work properly now if EnterMode!=div.</li> 219 221 </ul> 220 222 <h3> -
FCKeditor/trunk/editor/_source/classes/fckelementpath.js
r694 r825 48 48 49 49 if ( FCKListsLib.PathBlockLimitElements[ sElementName ] != null ) 50 eBlockLimit = e ; 50 { 51 // DIV is considered the Block, if no block is available (#525). 52 if ( !eBlock && sElementName == 'div' ) 53 eBlock = e ; 54 else 55 eBlockLimit = e ; 56 } 51 57 } 52 58 -
FCKeditor/trunk/editor/_source/classes/fckenterkey.js
r823 r825 139 139 var oRange = new FCKDomRange( this.Window ) ; 140 140 oRange.MoveToSelection() ; 141 142 if ( !oRange.CheckIsCollapsed() ) 141 142 var isCollapsed = oRange.CheckIsCollapsed() ; 143 144 if ( !isCollapsed ) 143 145 { 144 146 // Bug #327, Backspace with an img selection would activate the default action in IE. … … 164 166 if ( oRange.StartBlockLimit == oRange.EndBlockLimit && oStartBlock && oEndBlock ) 165 167 { 166 if ( ! oRange.CheckIsCollapsed())168 if ( !isCollapsed ) 167 169 { 168 170 var bEndOfBlock = oRange.CheckEndOfBlock() ;
Note: See TracChangeset
for help on using the changeset viewer.
