Currently the macro doesn't allow easily to copy the link of the source file which is displayed.
It would be useful to and share the link to the file or open the file in the browser for example.
The proposal is to display an icon in the toolbar which copies the link in the clipboard, for example:
Another proposal would be to display also the link directly, like XWiki does for the page reference in the information tab, but with an absolute link to the PDF file:
In both cases, there should be a tooltip hovering the icon (example: "Copy link to the PDF file to the clipboard") and an XWiki notification after the link has been copied (example: '"PDF file link copied to the clipboard")
Currently the macro doesn't allow easily to copy the link of the source file which is displayed. It would be useful to and share the link to the file or open the file in the browser for example.
The proposal is to display an icon in the toolbar which copies the link in the clipboard, for example:
Another proposal would be to display also the link directly, like XWiki does for the page reference in the information tab, but with an absolute link to the PDF file:![image](https://user-images.githubusercontent.com/27762774/156614769-6773e642-531a-461e-91c6-8fb78aa2a921.png)
Link to the icon used in the mockup: https://www.flaticon.com/premium-icon/link_1824953
In both cases, there should be a tooltip hovering the icon (example: "Copy link to the PDF file to the clipboard") and an XWiki notification after the link has been copied (example: '"PDF file link copied to the clipboard")