Ticket #3398: 3398.patch
File 3398.patch, 615 bytes (added by , 15 years ago) |
---|
-
_source/plugins/indent/plugin.js
235 235 var bookmarks = selection.createBookmarks( true ), 236 236 nearestListBlock = range.getCommonAncestor(); 237 237 238 while ( !( nearestListBlock.type == CKEDITOR.NODE_ELEMENT &&238 while ( nearestListBlock && !( nearestListBlock.type == CKEDITOR.NODE_ELEMENT && 239 239 listNodeNames[ nearestListBlock.getName() ] ) ) 240 240 nearestListBlock = nearestListBlock.getParent(); 241 241