#6631 closed Bug (duplicate)
Element attributes dropped during copy/paste in Firefox 3.5.15 environment
Reported by: | irpf | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | FCKeditor 2.6.5 |
Keywords: | Cc: |
Description
This problem was recently discovered with FF 3.5.15. Not sure which version of FF introduced it. The problem does not exist in IE 8.
Bug: If an input element (type = "image") is copied to the clipboard and then pasted, the element's attributes are not preserved in the pasted instance, nor are any event handlers such as onclick=buttonClicked(this). (Same for onFocus, onBlur).
Change History (6)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
OK. Apparently this is a documented problems (and a big one) across all browser-based editors. Lots and lots of web pages now broken. Mozilla screwed things up royally. See: https://bugzilla.mozilla.org/show_bug.cgi?id=596300
Again, copy/paste works perfectly (as it used to work in Firefox) in IE 8.
comment:3 follow-up: 4 Changed 14 years ago by
Keywords: | copy paste removed |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Dup of #6275
comment:4 Changed 14 years ago by
comment:5 follow-up: 6 Changed 14 years ago by
#6275 is really about the problems due to Mozilla changing the handling of inserting/pasting/dropping content into editable areas. They fixed part of the problems, but refused to correct all of them on the basis that "it can lead to a security problem in other browsers".
Even if we change the data protection, it won't be perfect and there are issues that will remain no matter what we do because the browser doesn't provide us with the correct data.
comment:6 Changed 14 years ago by
Replying to alfonsoml:
Even if we change the data protection, it won't be perfect and there are issues that will remain no matter what we do because the browser doesn't provide us with the correct data.
Yes, I understand and agree. It's just that the last comment in 6275 might lead some to believe that the problem is fixed with FF build 3.6.11, when it is not. My only recourse at this point is to tell users to either not use FF or if they do use FF, they must switch the editor to HTML mode to perform copy/paste.
Thanks.
Additional info: I've confirmed that the problem is NOT present in Firefox 3.01.
The problem IS present in FF version 3.6.12, as well as 3.5.15. So, it was introduced somewhere between 3.01 and 3.5.15.