Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Problem in pasting from clipboard in Chrome #21

Open
adi-david opened this issue Mar 15, 2015 · 1 comment
Open

Problem in pasting from clipboard in Chrome #21

adi-david opened this issue Mar 15, 2015 · 1 comment

Comments

@adi-david
Copy link

Hi,
First- this is a great plugin, thank you.
I've notice that pasting from clipboard is not working in chrome.
So I tried to debug it, and saw that the problem is fixed by changing line 162 (in image_paste.js) from:

else clipboardData = e.clipboardData;

to:

else clipboardData = e.clipboardData || e.originalEvent.clipboardData;

I'm not familiar with GIT so I'm sorry that I didn't loaded a diff file here.
Thanks in advance,
Adi.

@cz9524
Copy link

cz9524 commented Apr 2, 2015

Thank you Adi. I am also having problem with Chrome. Even after modified the image_paste.js file, the plugin still not working for me in Chrome. When I do the paste in the Redmine comment area, nothing happens. I am using Redmine 2.6.0. Wonder has anyone test / confirm this plugin works in Redmine 2.6.0 ?

Appreciate it!

Chuan

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants