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. 🥺
Usually, when you click on the picture button, there is a pop up dialog to upload picture. Like this one :

Okay i understand the popup does’t appear in nested comment. I’m creating an issue.
Seems my comment didn’t federate:
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?
That is in the Downarea editor. (I have “Use Markdown editor […]” enabled in my profile.
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?
Does it matter that I am registered through another instance or should it work anyway?
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 :
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?
Ah, I see. Thank you very much for clarifying! 😊
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?
That sounds likely. Maybe downarea.js needs to load before media_library.js
Thank you for investigating! 😊 I wish I understood JavaScript better so that I could help…




