Ticket #6241: 6241.patch

File 6241.patch, 689 bytes (added by paho, 20 months ago)

Patch

  • _source/plugins/pastefromword/filter/default.js

     
    889889                                                // adapting them to editor's convention. 
    890890                                                if ( styleText ) 
    891891                                                { 
     892                                                        //#6241: Some format is lost during paste 
     893                                                        if ( !CKEDITOR.env.ie && !styleText.toUpperCase().match( 'FONT-SIZE' ) ) 
     894                                                                styleText = 'FONT-SIZE: LARGE; ' + styleText; 
     895                                                         
    892896                                                        attrs.style = stylesFilter( 
    893897                                                                        [ 
    894898                                                                                // Drop 'inline-height' style which make lines overlapping. 
© 2003 – 2011 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy