-
Notifications
You must be signed in to change notification settings - Fork 3
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
RemoveBlobs command #22
Conversation
Thanks, wouldn't a |
Yes I can rename it to clearContent, but the idea is really to remove blobs from the editor for failed or incomplete uploads, which is not the case at the moment. |
I actually meant the existing tiptap command |
Remove files would imply all files, including successful uploads. The idea here is to remove only failed uploads. But maybe a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree now and makes sense
There is a case, at least in coracle, where we do need to remove all pending uploads, ie when closing a reply and saving a draft. |
Maybe |
I think removeBlobs are fine |
Add a command that will clean up all blobs from the editor content.
It could also be used automatically once a file upload failed, or leave that command up to the user.