Ticket #6662: 6662_4.patch
File 6662_4.patch, 1.5 KB (added by , 13 years ago) |
---|
-
_source/plugins/pastefromword/filter/default.js
807 807 808 808 'font' : function( element ) 809 809 { 810 // IE/Safari: drop the font tag if it comes from list bullet text.811 if ( !CKEDITOR.env.gecko &&isListBulletIndicator( element.parent ) )810 // Drop the font tag if it comes from list bullet text. 811 if ( isListBulletIndicator( element.parent ) ) 812 812 { 813 813 delete element.name; 814 814 return; … … 859 859 860 860 'span' : function( element ) 861 861 { 862 // IE/Safari: remove the span if it comes from list bullet text.863 if ( !CKEDITOR.env.gecko &&isListBulletIndicator( element.parent ) )862 // Remove the span if it comes from list bullet text. 863 if ( isListBulletIndicator( element.parent ) ) 864 864 return false; 865 865 866 866 element.filterChildren(); … … 870 870 return null; 871 871 } 872 872 873 // For IE/Safari:List item bullet type is supposed to be indicated by873 // List item bullet type is supposed to be indicated by 874 874 // the text of a span with style 'mso-list : Ignore' or an image. 875 if ( !CKEDITOR.env.gecko &&isListBulletIndicator( element ) )875 if ( isListBulletIndicator( element ) ) 876 876 { 877 877 var listSymbolNode = element.firstChild( function( node ) 878 878 {