Ticket #1359: 1359.patch
File 1359.patch, 1.1 KB (added by , 16 years ago) |
---|
-
editor/_source/classes/fckdomrange_ie.js
119 119 // It is also needed when placing the selection right after an inline 120 120 // element to avoid the selection moving inside of it. 121 121 dummySpan = this.Window.document.createElement( 'span' ) ; 122 dummySpan.innerHTML = '& nbsp;' ;122 dummySpan.innerHTML = '​' ; // Zero Width Space (U+200B) 123 123 eStartMarker.parentNode.insertBefore( dummySpan, eStartMarker ) ; 124 124 125 125 if ( bIsStartMakerAlone ) … … 127 127 // To expand empty blocks or line spaces after <br>, we need 128 128 // instead to have a , which will be later deleted using the 129 129 // selection. 130 eStartMarker.parentNode.insertBefore( this.Window.document.createTextNode( '\u 00a0' ), eStartMarker ) ;130 eStartMarker.parentNode.insertBefore( this.Window.document.createTextNode( '\u200b' ), eStartMarker ) ; 131 131 } 132 132 } 133 133