Changes between Initial Version and Version 1 of Ticket #9330, comment 3
- Timestamp:
- Sep 30, 2012, 3:15:16 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #9330, comment 3
initial v1 1 1 I was able to locate the function that is causing this behavior in the pastefromword filter default.js file: 2 2 3 4 {{{ 3 5 a: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 }}} 4 7 5 8 if 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?