Ticket #4476: 4476.patch
File 4476.patch, 997 bytes (added by , 13 years ago) |
---|
-
_source/plugins/indent/plugin.js
187 187 followingList.is && 188 188 followingList.getName() in listNodeNames ) 189 189 { 190 // IE requires a filler NBSP for nested list inside empty list item, 191 // otherwise the list item will be inaccessiable. (#4476) 192 if ( CKEDITOR.env.ie && !li.getFirst( function( node ){ return isNotWhitespaces( node ) && isNotBookmark( node ); } ) ) 193 li.append( range.document.createText( '\u00a0' ) ); 194 190 195 li.append( followingList ); 191 196 } 192 197 … … 264 269 this.startDisabled = name == 'outdent'; 265 270 } 266 271 272 var isNotWhitespaces = CKEDITOR.dom.walker.whitespaces( true ), 273 isNotBookmark = CKEDITOR.dom.walker.bookmark( false, true ); 274 267 275 indentCommand.prototype = { 268 276 exec : function( editor ) 269 277 {