Ticket #7269: 7269.patch

File 7269.patch, 636 bytes (added by Frederico Caldeira Knabben, 13 years ago)
  • _source/plugins/pastefromword/filter/default.js

     
    11201120                                                var attrs = element.attributes;
    11211121                                                if ( attrs && !attrs.href && attrs.name )
    11221122                                                        delete element.name;
     1123                                                else if ( CKEDITOR.env.webkit && attrs.href && attrs.href.match( /file:\/\/\/[\S]+#/i ) )
     1124                                                        attrs.href = attrs.href.replace( /file:\/\/\/[^#]+/i,'' );
    11231125                                        },
    11241126                                        'cke:listbullet' : function( element )
    11251127                                        {
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy