Swiftcord icon indicating copy to clipboard operation
Swiftcord copied to clipboard

[Enhancement]: Paste files from clipboard into message field

Open decheverri123 opened this issue 3 years ago • 1 comments

Describe the Bug

Enhancement I cannot paste an image I have copied on my clipboard.

Expected Behavior An image should be pasted as it does in the official discord client.

Category

Media (images, audio, video etc.)

decheverri123 avatar Aug 02 '22 21:08 decheverri123

This isn't a bug: swiftUI simply doesn't support a paste handler and the TextField is hardcoded to always paste strings. Eventually I'll use a NSViewRepresentable to fix all these bugs related to the TextField, but I haven't gotten around to that.

cryptoAlgorithm avatar Aug 03 '22 02:08 cryptoAlgorithm