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.
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.