SawyerHood / draw-a-ui

Draw a mockup and generate html for it
https://draw-a-ui.com
MIT License
13.1k stars 1.57k forks source link

[fix] duplicated shape link bug #62

Closed steveruizok closed 8 months ago

steveruizok commented 8 months ago

We use the shape's id to pull the corresponding link. Duplicating a shape breaks this. This PR adds a stable reference to the linked project. This works! But it's maybe not ideal.

Alternatively, duplicating a shape could re-upload a new file. If we ever allowed users to edit a preview's html then there's a chance of one project changing the link / source for another.