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

Add paste support for images into textarea #497

Merged
merged 4 commits into from
Aug 14, 2024

Conversation

NathanBeddoeWebDev
Copy link
Contributor

@NathanBeddoeWebDev NathanBeddoeWebDev commented Aug 8, 2024

Summary

Adds image upload on paste support. Supports issue #496

Does client side checking for image mime types.

Happy for feedback, I'm no expert in Alpine, but it seemed reasonable to hijack the pre-existing client side image upload functionality and just hook it into a new event listener.

resources/js/image-upload.js Outdated Show resolved Hide resolved
@nunomaduro nunomaduro merged commit 276e4e6 into main Aug 14, 2024
@nunomaduro nunomaduro deleted the feat/496-image-upload-on-paste branch August 14, 2024 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants