Back to Tldraw

Custom paste behavior

apps/examples/src/examples/data/assets/custom-paste/README.md

5.2.1243 B
Original Source

Change how pasting works by registering an external content handler.


This example adds a special rule for pasting single frame shapes, so they'll try to find an empty space instead of always pasting in the location they were copied from.