11

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 ![](https). 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. 🥺

top 9 comments
sorted by: hot top new old
[-] Snoopy@piefed.social 5 points 4 months ago

Usually, when you click on the picture button, there is a pop up dialog to upload picture. Like this one :

94ll41m0gtrQboU.png

[-] Snoopy@piefed.social 8 points 4 months ago* (last edited 4 months ago)

Okay i understand the popup does't appear in nested comment. I'm creating an issue.

[-] h3ndrik@piefed.social 3 points 4 months ago* (last edited 4 months ago)

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".

koLtvxYrL3dBSP2.png

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.

[-] akunohana@piefed.blahaj.zone 1 points 4 months ago

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 points 4 months ago

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?

[-] akunohana@piefed.blahaj.zone 1 points 4 months ago

Ah, I see. Thank you very much for clarifying! 😊

[-] hendrik@palaver.p3x.de 2 points 4 months ago* (last edited 4 months ago)

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".

koLtvxYrL3dBSP2.png

Maybe some race condition between the separate parts of the JavaScript?

[-] rimu@piefed.social 3 points 4 months ago

That sounds likely. Maybe downarea.js needs to load before media_library.js

[-] akunohana@piefed.blahaj.zone 2 points 4 months ago

Thank you for investigating! 😊 I wish I understood JavaScript better so that I could help...

this post was submitted on 16 May 2026
11 points (100.0% liked)

PieFed Meta

4929 readers
55 users here now

Discuss PieFed project direction, provide feedback, ask questions, suggest improvements, and engage in conversations related to the platform organization, policies, features, and community dynamics.

Wiki

founded 2 years ago
MODERATORS