In a post, I'm prompted to upload the media in question and then to select and paste it. However, in comments, I don't get prompted. It only pastes . I don't know how I am supposed to know the link and hash to a piece of media that I haven't been prompted for to upload yet. đ„ș
9 Comments
Snoopy@piefed.social · 5 pts · 119d
Usually, when you click on the picture button, there is a pop up dialog to upload picture. Like this one :
Snoopy@piefed.social · 8 pts · 119d
Okay i understand the popup does't appear in nested comment. I'm creating an issue.
h3ndrik@piefed.social · 3 pts · 118d
Seems my comment didn't federate:
That is in the Downarea editor. (I have "Use Markdown editor [...]" enabled in my profile.
akunohana@piefed.blahaj.zone · 1 pts · 118d
Oh, wait, I may have creates an even greater issue. My account is registered over at BlÄhaj. And the popup DOES show up now when i tried it in this reply. Does it matter that I am registered through another instance or should it work anyway? Might they have some configuration that doesn't allow pasting images in comments?
Snoopy@piefed.social · 2 pts · 118d
No, you definitly found a bug. I also though it worked but the popup appear or hide. h3ndrik's comment below mine provide technical detail :
akunohana@piefed.blahaj.zone · 1 pts · 118d
Ah, I see. Thank you very much for clarifying! đ
hendrik@palaver.p3x.de · 2 pts · 118d
Huh. Seems like a bug... If I refresh the page a lot of times, sometimes the button works, sometimes it doesn't. I've attached a screenshot of the browser's developer console. Let's see if that image loads. It says "image button not found".
Maybe some race condition between the separate parts of the JavaScript?
rimu@piefed.social · 3 pts · 118d
That sounds likely. Maybe downarea.js needs to load before media_library.js
akunohana@piefed.blahaj.zone · 2 pts · 118d
Thank you for investigating! đ I wish I understood JavaScript better so that I could help...