plots2 icon indicating copy to clipboard operation
plots2 copied to clipboard

Drag and drop image while editing research note comments fails

Open Fastie opened this issue 10 years ago • 9 comments

Drag and drop works when writing a comment but not when editing that comment after it has been published. chrome in windows

Fastie avatar Mar 13 '16 01:03 Fastie

Drag and dropping images into comments on research notes (when first creating the comment) now produces three instances of the image code.

Fastie avatar Mar 13 '16 14:03 Fastie

Thanks for reporting, chris. All of this is only when dragging but not when using the select image link? On Mar 13, 2016 10:31 AM, "Fastie" [email protected] wrote:

Drag and dropping images into comments on research notes (when first creating the comment) now produces three instances of the image code.

— Reply to this email directly or view it on GitHub https://github.com/publiclab/plots2/issues/413#issuecomment-195965217.

jywarren avatar Mar 13 '16 15:03 jywarren

I recall that I tried the select image link last night and that also failed. This was when editing an existing comment.

Fastie avatar Mar 13 '16 15:03 Fastie

Thanks for the added info. On Mar 13, 2016 11:33 AM, "Fastie" [email protected] wrote:

I recall that I tried the select image link last night and that also failed. This was when editing an existing comment.

— Reply to this email directly or view it on GitHub https://github.com/publiclab/plots2/issues/413#issuecomment-195979791.

jywarren avatar Mar 13 '16 15:03 jywarren

Dragging a photo into a comment (on a research note) produced 15 (I think) instances of the image embedding code. It was the 14th comment on the note. On the ninth comment on a note, I think I got nine instances of the code. Very exciting.

Fastie avatar Mar 16 '16 13:03 Fastie

Yeah this is an odd experience to the user. i caught the bug. @jywarren Give me few mintues to send my fix.

ujithaperera avatar Mar 16 '16 14:03 ujithaperera

Commented on your pull request at #421 with some additional debugging input; I think we're close but not quite there. Thanks!

jywarren avatar Mar 16 '16 19:03 jywarren

This should be fixed; can you confirm and re-open if it is not? Thanks, esp. to @ujithaperera!

jywarren avatar Mar 21 '16 18:03 jywarren

Dragging photos into new or old comments now seems to work fine.

Thanks.

Fastie avatar Mar 21 '16 20:03 Fastie