Fixed [2.2.7] Image Copy/Paste from Clipboard Stopped Working


Affected version
Before upgrading to 2.2.7, whenever I copied images from WhatsApp Web and pasted it to a new post, it would work.

But now, it does not work. I only get a broken image icon.

Nothing changed at the server level.

Chris D

XenForo developer
Staff member
I can confirm this. In some cases it seems to be just inserting the hotlinked image rather than processing it as an upload from the clipboard data. The image being broken might be something related to the URL being inferred from WhatsApp web which may be protected from being loaded outside of the app.


Well-known member
Also, had reports from Safari users on Macs - "Just write a few sentences/short paragraphs with blank space (new lines) between them. Then try to drag a different photo into each of the blank spaces. They all get added to the top of the post with the last dragged photo at the top."

Apparently it didn't happen on v2.2.6


Well-known member

I assume we are running 2.2.7 here on At least copy-and-paste from Snagit works still - I use that a lot!


Well-known member
This was reported by our users, too. I can reliably reproduce this issue in our forum and here on using Chrome Stable 94.0.4606.71.



That paste ^^^ is an attempt to embed the link with the
tags from my google photos.
This is on a chromebox. I've confirmed it in chrome and edge on my Win 10 machine. Problem is, for the author, they can see the pic, so it appears that it worked. I've confirmed this from other sites, and if it is in a public space, the tag works. Note that xenforo has the ability to stop other sites from sourcing images in the ACP/Image and link proxy/secret key

if i look at bb code


Previously it would paste/upload the image from the clipboard then "attach" it from the gallery.


<img src="blob:chrome-untrusted://media-app/03c991d6-d363-4f97-b86c-0d20c176769c" alt="IMG_0662.JPG"/>

If i "copy image" from the chrome viewer, it pastes the above line, but does not grab the "blob"
I'm sure the blob is going to the clipboard, because it takes a couple seconds after the copy for the mouse to respond to a click.

gotta be in the javascript ?
Beyond my talent*time product.

if i can research any behaviour, i'd be glad to help.

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.8).

Change log:
Patch a regression in Froala which caused images inside clipboard data to no longer be uploaded as expected.
There may be a delay before changes are rolled out to the XenForo Community.