Cannot remove image from comment
Summary
I accidentally pasted a an image into a comment. I deleted the image before posting, but the image got posted anyways, and now I am unable to remove the image from that comment.
Steps to reproduce
Bug 1:
Paste image into comment, delete the image from comment and post the comment.
I find it that you have to remove the image right before posting the comment (maybe within a second) < that was only way I could reproduce the bug.
Bug 2:
If I clicked edit and removed image, image still appeared there. After I clicked edit again, image wasn't visible in edit field until I refreshed the page.
This seems to happen with a normal post as well.
Platform information
Brave, Windows 10
What is the current bug behavior?
Can't remove image from comment.
What is the expected correct behavior?
User should be able to remove image.
Image shouldn't post when removed after upload.
Relevant logs and/or screenshots
This is the comment in question: https://www.minds.com/newsfeed/1218830924324192256?focusedCommentUrn=urn:comment:1218830924324192256:1218831780077006848:1218834651726118912:0:1218850625926631424
And here is video of me removing the image unsuccessfully: 2021-03-17_10-25-15.mkv
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)