Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send attachments from clipboard #48

Closed
jarodise opened this issue May 26, 2022 · 3 comments · Fixed by #52
Closed

Send attachments from clipboard #48

jarodise opened this issue May 26, 2022 · 3 comments · Fixed by #52
Labels
enhancement New feature or request

Comments

@jarodise
Copy link

jarodise commented May 26, 2022

It's not really a bug per se, something I do very often is to paste an image into the input field, I find that it's not supported yet in Swiftcord, would be nice to have it in future iterations.

Thanks for creating this project!

@jarodise jarodise added the bug Something isn't working label May 26, 2022
@selimgr selimgr added enhancement New feature or request and removed bug Something isn't working labels May 26, 2022
@cryptoAlgorithm cryptoAlgorithm changed the title Not able to paste an image from clipboard Send attachments from clipboard May 26, 2022
@cryptoAlgorithm
Copy link
Member

Thanks for this suggestion. It has been on my mind for a long time, since dragging and dropping into the message field or pasting files is quite important for me too :) I'll add it soon, most likely in the following days :)

@cryptoAlgorithm cryptoAlgorithm linked a pull request May 31, 2022 that will close this issue
@cryptoAlgorithm
Copy link
Member

This is being worked on at the drag-n-drop branch - #52

@cryptoAlgorithm
Copy link
Member

Handling pasting is very tough, and there doesn't seem to be any SwiftUI API to handle pasting files. So as a compromise, I handled dropping of files instead. Hope this helps, @jarodise!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants