-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
feat: Add onPaste prop to customise clipboard paste event #3420
feat: Add onPaste prop to customise clipboard paste event #3420
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/excalidraw/excalidraw/9AWJTSWVS46d7VN9KPJzL84Gm9ft |
60191a9
to
87e1b67
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also can you update changelog and README_NEXT.md ?
onPasteFromClipboard
props
Thanks for the PR @fabien0102 🎉 |
Add
onPasteFromClipboard
props to@excalidraw/excalidraw
.Example
A simple example to add a custom element when the text
"special"
is pasted in the scene.