-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
E.g. this would apply for the image node type in editable website.
https://github.com/michael/editable-website/blob/main/src/routes/create_session.js#L210-L222
Question is if this concept should be introduced in svedit or if its rather app-land. we just need a way to figure out which nodes are referencing assets. so we can track which asset is referenced where and when orphaned assets can be safely deleted.
Maybe it's more flexible to add "asset" as a possible property type. like the "src" attribute of image would be of type asset, because it points to a file. then we could reuse that mechanism for other files like mp3s or pdfs etc.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels