Image Block: Undo includes pulsing state as an undo step #3553
Labels
[Feature] Media
Anything that impacts the experience of managing media
[Type] Bug
An existing feature does not function as intended
Milestone
Issue Overview
Image Block left in uploading state (pulsing) if 'Undo' clicked after upload.
Steps to Reproduce (for bugs)
Expected Behavior
Undo will revert to Placeholder Image block
Current Behavior
Undo leaves image in the uploading state (pulsing).
Possible Solution
Don't use
setAttributes
for temporary block state. This also means that if the browser was to be closed during uploading (which might take a while for large images) then the image blob URL will be left in the post content.Screenshots / Video
Related Issues and/or PRs
Todos
The text was updated successfully, but these errors were encountered: