There are 2 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-c1d1b78d-edcf-48ff-9b5b-018a1018922b XWIKI-22611 Open

Copy and pasting images using the browser's "Copy Image" option does not upload an attachment to the wiki but adds an external URL image

 
View issue   ยท   Add comment
 

2 comments

 
cid:jira-generated-image-avatar-cbeef230-9612-4ed8-8a74-5d748626225f Vincent Massol on 02/Jan/25 16:01
 

I'm wondering if it's not better to allow the user to choose the type of paste when we detect that the DataTransfer object has multiple types. WDYT?

I'd agree with this.

 
cid:jira-generated-image-avatar-cbeef230-9612-4ed8-8a74-5d748626225f Vincent Massol on 02/Jan/25 16:05
 
bq. I'm wondering if it's not better to allow the user to choose the type of paste when we detect that the DataTransfer object has multiple types. WDYT?

I'd agree with this.
It's consistent with the idea from the description of XWIKI-19961 :

bq. It would be great if, upon doing the paste, a popup would open if there are images in the HTML and ask the user if he/she would like to link the images to the remote site or copy them in the current wiki page as attachments instead.