onDeleting an image triggering a function. #2733
Replies: 1 comment 3 replies
-
Hi, you can subscribe on onChange event and watch for the "block-removed" event, then filter the "image" blocks and delete corresponded files |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey techies!!!! I have been working on a project using EditorJS.
It is a blogging website using react and CloudFlare.
The problem I am facing is I am storing the images in my firebase storage and i need a way to trigger the deleteImage function when the user deletes the image. Can't find any relevant functions to do this job. Can anyone help me with this?
Beta Was this translation helpful? Give feedback.
All reactions