Changeset 1064
- Timestamp:
- 2007-11-03 13:17:17 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/classes/fckdomrange_ie.js
r1053 r1064 34 34 if ( oSel.type != 'Control' ) 35 35 { 36 var htmlText = this.Window.document.selection.createRange().htmlText ; 36 37 var eMarkerStart = this._GetSelectionMarkerTag( true ) ; 37 38 var eMarkerEnd = this._GetSelectionMarkerTag( false ) ; … … 53 54 54 55 this._UpdateElementInfo() ; 56 57 // Kludge for IE bug #1491. 58 if ( htmlText.match( /^\s*<(LI)><\/\1>$/ ) ) 59 this.Collapse( true ) ; 55 60 } 56 61 else