In XF1 users could paste the images copied from the browser as a bbcode image in the editor, but in XF2 this does not work anymore, has this function been removed in XF2?
hmm. had no idea xenforo 1 would create a hotlinked bbcode when you pasted an image in the editor. xenforo 2 uploads the image and creates an attachment out of pasted image.
hmm. had no idea xenforo 1 would create a hotlinked bbcode when you pasted an image in the editor. xenforo 2 uploads the image and creates an attachment out of pasted image.
Even with those permissions, I still can't copy and paste to create an embed - it simply doesn't do anything.
I can however (whatever the permissions) drag and drop an image from a website into the editor (on both XF1.x and XF2). If you are not doing this, maybe you can describe the exact steps you take (and the browser + OS plus the version number of Xenforo 1.x you are running) used to do this, as it doesn't seem to be a standard feature of XenForo as far as I can tell.
After my last post I recalled something way back about copying and pasting images from other sites and in fact 4 years ago I raised a suggestion about this here https://xenforo.com/community/threads/change-copy-paste-picture-functionality-in-1-2.54742/ which was implemented. Long and short of it then was that there was an issue with Chrome which caused this issue - copying and pasting an image caused it to be uploaded and not embedded. It was fixed at the time but it appears that Chrome again uploads images copied and pasted from the web, whereas both Firefox and Safari embed in XenForo 1.5.17.
I've checked in XenForo 2.0 and it seems that both Chrome and Firefox browsers upload copied web images in the new version whereas Safari pastes the URL.
@Mike is this an issue that has changed or needs fixing in XenForo 1.5.x? What about XenForo 2.0?
We use some different (newer) clipboard APIs now and really it's just down to what data ends up in that clipboard. There can be multiple representations of it, so any approach really is valid in that case (when the image binary data is there). This is ultimately driven by the RTE library in 2.0 and it likely prioritizes the binary data.
Yes it is, I've just done it in other threads on here. It also happens when copying and pasting images from another site when using Chrome and Firefox (but not Safari) as per my previous post.
Yes it is, I've just done it in other threads on here. It also happens when copying and pasting images from another site when using Chrome and Firefox (but not Safari) as per my previous post.