When a file is uploaded using drag and drop feature it gets added in different text box.

@cesswairimu @jywarren is this something i can take up?
Hi, thanks @urvashigupta7 for opening this, I tested locally and it works fine. @KarenEfereyan could you please check on https://stable.publiclab.org/ could be its fixed but its not deployed yet. If you find the issue on stable you can go ahead. Thanks all
Hi @cesswairimu. I am unable to add images while editing the comment on https://stable.publiclab.org/ . It just shows never-ending uploading

Great investigation, thanks @urvashigupta7, would you like to work on this or should @KarenEfereyan give it a try
Great investigation, thanks @urvashigupta7, would you like to work on this or should @KarenEfereyan give it a try
@urvashigupta7 would you like to work on it? Thanks cess
@KarenEfereyan You can try this out 馃槃 Thanks!!
@cesswairimu could you please assign this to me?
@KarenEfereyan You can try this out 馃槃 Thanks!!
I see that you are a competitive programmer. I have been long interested in that. Could you tell me more about it?
Go ahead @KarenEfereyan
@KarenEfereyan You can try this out smile Thanks!!
I see that you are a competitive programmer. I have been long interested in that. Could you tell me more about it?
Sure @KarenEfereyan . I would be happy to help. Let us just connect on twitter, we can discuss about this there.
@cesswairimu @urvashigupta7 things have been tough on my side recently. Can you help me with the solving of this issue?
@urvashigupta7 i'm unable to replicate the issue. I dragged and dropped files several times and afterward went ahead to edit comments and there are no irregularities. Or am i mistaken?
Hi @KarenEfereyan. Edit comment does not work on https://stable.publiclab.org/ but I see edit comment works fine locally. But I am facing the issue I tried to show in the gif above.
Hi @KarenEfereyan. Edit comment does not work on https://stable.publiclab.org/ but I see edit comment works fine locally. But I am facing the issue I tried to show in the gif above.
Oh okay. Thanks so much
Hello all, thank you for investigating and documenting this so carefully. I'm going to edit the title to add some specificity that this is during editing a comment. It may also be different depending on if the edited comment was just made (with no page refresh) or if it was there already, since newly made comments are inserted using JavaScript instead of being built-in at the time the page is prepared by Ruby.
I'm going to mark this as part of the overall Comment Editor project but whoever would like to work on it, i recommend writing a test that very specifically demonstrates this behavior, of editing a comment then drag-and-dropping an image - and to copy and adapt the test from this example:
Thank you so much!
and linking to #8775
I'm researching this bug right now, and I can consistently reproduce it. Here are some instructions for those curious:
Steps to Reproduce Bug
Bug Notes
I wrote a system test demonstrating this behavior and will open a PR for it shortly.