mirror of
https://github.com/plankanban/planka.git
synced 2026-02-05 00:39:58 +03:00
[Bug Report] Paste image from clipboard #77
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mottosso on GitHub (Mar 18, 2021).
Thanks for a great project, been looking a long time for this!
Having come from Trello, one of the things I'm missing after about an hour of use is pasting images from my clipboard. My typical workflow is..
Without clipboard support, I'll need a few more steps.
And it's a real pain. :D I'd be happy to try and take a look myself, even though my JavaScript skills are limited. Any thoughts, or existing plans to integrate something like this?
@meltyshev commented on GitHub (Mar 18, 2021):
Hi! Amazing little feature to speed up the work process.
@nickbe commented on GitHub (Mar 19, 2021):
And it's already working for a long time now. At least for me it does.
Please copy an image to your clipboard and press Ctrl-V when you're somewhere inside a card. I'm doing this all day long currently and it would make me really wonder if this is not working out of the box right now.
@mottosso commented on GitHub (Mar 19, 2021):
And.. so it does! How strange, the first time I did it it prompted me to create a new file. Both attempts were on Firefox, Windows. I'll keep an eye out, closing this in the meantime. Thanks!
@mottosso commented on GitHub (Mar 19, 2021):
Ah, yes. Here it is.
Steps to reproduce.
When I on the other hand..
Very odd, I suppose the MIME type is different between the two?
@nickbe commented on GitHub (Mar 19, 2021):
There's definetely something wrong with the mime type here. Just open a real image and copy the whole or part of the image - or make a screenshot in windows. All of these image types can be inserted into PLANKA.
The example you just showed us is the first of its kind. I've never found something like this before.
@mottosso commented on GitHub (Mar 19, 2021):
Mm, the workaround I'll employ for now is to take a screenshot/snippet of an image, rather than copying it outright. Copying and pasting an image works in Trello though, so it it technically possible.
And for completeness, the issue appears whenever you right-click to copy any image from a browser, both Firefox and Edge. Pasting in Trello is OK, into Planka is not OK.
Interestingly, copying an image from both Paint and Photoshop (CS6) does work with Planka. So browsers must be doing something funny here.
@nickbe commented on GitHub (Mar 19, 2021):
Ah yes confirmed. What i get is something like that:
I think Maks will be able to fix this - maybe it's just something not being specifically mentioned and documented in one of the used libraries. Thanks for bringing our attention to this.
@meltyshev commented on GitHub (Mar 20, 2021):
A copied file from the browser stores as files property. But copied from another place - as items property with the file kind. I don't know why that difference. Fixed, thanks for reporting this. New Docker image will be available in ~2 hours.