Ticket #3095: 3095.patch
File 3095.patch, 1.5 KB (added by , 16 years ago) |
---|
-
_source/plugins/list/plugin.js
115 115 116 116 for ( var i = 0 ; i < item.contents.length ; i++ ) 117 117 currentListItem.append( item.contents[i].clone( true, true ) ); 118 118 119 119 if ( currentListItem.type == CKEDITOR.NODE_DOCUMENT_FRAGMENT ) 120 120 { 121 121 if ( currentListItem.getLast() … … 138 138 } 139 139 140 140 var currentListItemName = currentListItem.$.nodeName.toLowerCase(); 141 if ( !CKEDITOR.env.ie && currentListItemName == 'div' || currentListItemName == 'p')141 if ( !CKEDITOR.env.ie && ( currentListItemName == 'div' || currentListItemName == 'p' ) ) 142 142 currentListItem.appendBogus(); 143 143 retval.append( currentListItem ); 144 144 rootNode = null; -
_source/plugins/indent/plugin.js
117 117 // possible about the surrounding lists, we need to feed it the further 118 118 // ancestor node that is still a list. 119 119 var listParents = listNode.getParents(); 120 for ( var i = listParents.length - 1 ; i >= 0 ; i--)120 for ( var i = 0 ; i < listParents.length ; i++ ) 121 121 { 122 122 if ( listParents[i].getName && listNodeNames[ listParents[i].getName() ] ) 123 123 {