-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove image file from storage when image being remove in editor #51
Comments
I've just started using this extension but I'm wondering if this is what the reject parameter is for? |
where do i find the answer for this ? |
Hi, same problem here. How can i handle when an image is removed in editor? |
The developers of this library have no ideas how to handle this either, they only thought of uploading lol~ |
@NoelOConnell any idea ? |
You can use the https://quilljs.com/docs/api/#text-change You can check for images added/removed by the user and then remove the image from storage if you want. Just remember that the user could undo (Ctrl z) the removal of an image so it's best not to remove the image from storage until the user has saved any changes and left the web so they can no longer undo any edits. |
Here's a full working solution. The content-type must be delta (the default value)
.... |
remove image file from storage when image being remove in editor
The text was updated successfully, but these errors were encountered: