peclik / clipboard_image_paste

Redmine plugin for pasting cropped image from clipboard as an attachment.
264 stars 118 forks source link

No option to add image from clipboard when editing issue #73

Open pielat opened 6 years ago

pielat commented 6 years ago

Hello, We have upgraded our redmine instance and your plugin. We found that there is no option to add image from clipboard when editing an issue. Is it possible that this option disappeared? New issue: image Editing issue: image

ozaryx commented 6 years ago

I have the same issue.

default

Xandrr commented 6 years ago

I have the same bug. Very strange, I`m not sure, after which version of Redmine this was happened. My Redmine is 3.4.1 now.

phoppen commented 6 years ago

edit clipboard_image_paste/assets/javascripts/clipboard_image_paste.js, look for "#attachments_fields" and replace with ".attachments_fields" (at 2 places), that solves it. The javascript could no longer find the location where the form should be inserted.

Xandrr commented 6 years ago

edit clipboard_image_paste/assets/javascripts/clipboard_image_paste.js, look for "#attachments_fields" and replace with ".attachments_fields" (at 2 places), that solves it. The javascript could no longer find the location where the form should be inserted.

I tried this, but it still don`t work :(

alterdaemon commented 6 years ago

edit clipboard_image_paste/assets/javascripts/clipboard_image_paste.js, look for "#attachments_fields" and replace with ".attachments_fields" (at 2 places), that solves it. The javascript could no longer find the location where the form should be inserted.

I tried this, but it still don`t work :(

I you are using a_common_libs form RMplus team please follow this instruction.

peclik commented 6 years ago

Probably there is a conflict with another plugin. Try disabling other plugins until the "Add..." link appears.

j-seki commented 5 years ago

I have the same bug. IE11 + redmine 3.4.6 I tried to add code. clipboard_image_paste.js:587 alert("1"); <- added addFile = $(".attachments_form"); It's OK. form has been displayed. addFile = $(".attachments_form"); alert("1"); <- added It,s NG! form is not displayed.