Changes between Initial Version and Version 1 of Ticket #9330, comment 3


Ignore:
Timestamp:
Sep 30, 2012, 3:15:16 AM (8 years ago)
Author:
Jake Berkes
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9330, comment 3

    initial v1  
    11I was able to locate the function that is causing this behavior in the pastefromword filter default.js file:
    22
     3
     4{{{
    35a:function(O){var P=O.attributes;if(P&&!P.href&&P.name)delete O.name;else if(CKEDITOR.env.webkit&&P.href&&P.href.match(/file:\/\/\/[\S]+#/i))P.href=P.href.replace(/file:\/\/\/[^#]+/i,'');}
     6}}}
    47
    58if an <a> tag is pasted with a ''name'' and no ''href'', it deletes the ''name''. Is this behavior intentional? If so, can you supply the reasoning behind this?
© 2003 – 2020 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy