Changeset 5602
- Timestamp:
- 06/11/10 19:42:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/branches/features/contenteditable/_source/plugins/list/plugin.js
r5601 r5602 457 457 while ( ( block = iterator.getNextParagraph() ) ) 458 458 { 459 // Avoid duplicate blocks get processed across ranges. 460 if( block.getCustomData( 'list_block' ) ) 461 continue; 462 else 463 CKEDITOR.dom.element.setMarker( database, block, 'list_block', 1 ); 464 459 465 var path = new CKEDITOR.dom.elementPath( block ), 460 466 pathElements = path.elements, … … 476 482 // should belong to a different group of paragraphs before 477 483 // the list. (Bug #1309) 478 blockLimit.removeCustomData( 'list_group_object ' + index );484 blockLimit.removeCustomData( 'list_group_object_' + index ); 479 485 480 486 var groupObj = element.getCustomData( 'list_group_object' ); … … 536 542 'getPrevious' : 'getNext' ]( CKEDITOR.dom.walker.whitespaces( true ) ); 537 543 if ( sibling && sibling.getName && 538 sibling.getName() == listCommand.type )544 sibling.getName() == listCommand.type ) 539 545 { 540 546 sibling.remove();
Note: See TracChangeset
for help on using the changeset viewer.
