Changeset 909
- Timestamp:
- 09/29/07 02:09:43 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/commandclasses/fcklistcommands.js
r870 r909 71 71 var listNode = null ; 72 72 var processedFlag = false ; 73 var blockLimit = path.BlockLimit ; 73 74 74 75 // First, try to group by a list ancestor. … … 78 79 if ( el.nodeName.IEquals( ['ol', 'ul'] ) ) 79 80 { 81 // If we've encountered a list inside a block limit 82 // The last group object of the block limit element should 83 // no longer be valid. Since paragraphs after the list 84 // should belong to a different group of paragraphs before 85 // the list. (Bug #1309) 86 if ( blockLimit._FCK_ListGroupObject ) 87 blockLimit._FCK_ListGroupObject = null ; 88 80 89 var groupObj = el._FCK_ListGroupObject ; 81 90 if ( groupObj ) … … 96 105 97 106 // No list ancestor? Group by block limit. 98 var root = path.BlockLimit ;107 var root = blockLimit ; 99 108 if ( root._FCK_ListGroupObject ) 100 109 root._FCK_ListGroupObject.contents.push( block ) ;
Note: See TracChangeset
for help on using the changeset viewer.
