Ticket #6059: 6059.patch
File 6059.patch, 872 bytes (added by , 13 years ago) |
---|
-
_source/plugins/list/plugin.js
218 218 CKEDITOR.dom.element.setMarker( database, itemNode, 'list_item_processed', true ); 219 219 } 220 220 221 var fakeParent = groupObj.root.getDocument().createElement( this.type ); 221 var root = groupObj.root, 222 fakeParent = root.getDocument().createElement( this.type ); 223 // Copy all attributes, except from 'start' and 'type'. 224 root.copyAttributes( fakeParent, { start : 1, type : 1 } ); 225 // The list-style-type property should be ignored. 226 fakeParent.removeStyle( 'list-style-type' ); 227 222 228 for ( i = 0 ; i < selectedListItems.length ; i++ ) 223 229 { 224 230 var listIndex = selectedListItems[i].getCustomData( 'listarray_index' );