Delete removed images from the storage? #173
Unanswered
arthureberledev
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I've integrated novel into my app using nextjs and supabase and thus far I've managed to handle the image upload via signed urls. The documents content itself is saved in json format and the image is included in there as well.
But there is one thing that i can't find a solution for:
When an user removes the image from the document, I want to delete it from my storage as well. The only solution that I've found so far is from this tiptap issue. But it uses the pro extension unique-id.
Did any of you guys manage to solve this problem, and when how?
Beta Was this translation helpful? Give feedback.
All reactions