Skip to content

[web] Add clipboard image implementation for web#5614

Merged
raysan5 merged 2 commits intoraysan5:masterfrom
maiconpintoabreu:clipboard-image-web
Mar 3, 2026
Merged

[web] Add clipboard image implementation for web#5614
raysan5 merged 2 commits intoraysan5:masterfrom
maiconpintoabreu:clipboard-image-web

Conversation

@maiconpintoabreu
Copy link
Contributor

This PR implements Clipboard image for web and fix GetClipboardText.

Adding RequestClipboardData to get information from navigator.clipboard.read() and prepare for GetLastPastedText and GetLastPastedImage.

Screencast.from.2026-03-02.23-56-54.webm

RequestClipboardData runs as async that allows to wait for the response of navigator.clipboard.read() avoiding the issue described previously on GetClipboardText

@raysan5 raysan5 merged commit 37a852a into raysan5:master Mar 3, 2026
16 checks passed
@raysan5
Copy link
Owner

raysan5 commented Mar 3, 2026

@maiconpintoabreu Thanks! This is a great addition!

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.

2 participants