Changeset 7424 for CKEditor/trunk
- Timestamp:
- 03/27/12 17:36:02 (14 months ago)
- File:
-
- 1 edited
-
CKEditor/trunk/_source/plugins/list/plugin.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/trunk/_source/plugins/list/plugin.js
r7419 r7424 153 153 // apply the proper text direction. 154 154 var dirLoose = item.grandparent.getDirection( 1 ) != orgDir, 155 enterBr = paragraphMode == CKEDITOR.ENTER_BR, 155 needsBlock = currentListItem.type == CKEDITOR.NODE_DOCUMENT_FRAGMENT && 156 paragraphMode != CKEDITOR.ENTER_BR, 156 157 li = item.element, 157 158 className = li.getAttribute( 'class' ), … … 172 173 className && child.addClass( className ); 173 174 } 174 else if ( dirLoose || !enterBr|| style || className )175 else if ( dirLoose || needsBlock || style || className ) 175 176 { 176 177 // Establish new block to hold text direction and styles.
Note: See TracChangeset
for help on using the changeset viewer.
