-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
[Feature] MediaAnything that impacts the experience of managing mediaAnything that impacts the experience of managing media[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Milestone
Description
Issue Overview
Image Block left in uploading state (pulsing) if 'Undo' clicked after upload.
Steps to Reproduce (for bugs)
- Add Image block
- Upload Image
- Click Undo
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
- Tests
- Documentation
noisysocks
Metadata
Metadata
Assignees
Labels
[Feature] MediaAnything that impacts the experience of managing mediaAnything that impacts the experience of managing media[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended