-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Cover: Reset should remove all user changes #23030
Copy link
Copy link
Closed
Labels
[Block] CoverAffects the Cover Block - used to display content laid over a background imageAffects the Cover Block - used to display content laid over a background image[Package] Components/packages/components/packages/components[Status] In ProgressTracking issues with work in progressTracking issues with work in progress
Description
Describe the bug
The new Padding controls should remove user changes when "Reset" is clicked. At the moment, it only removes session based changes.
This issue was originally discussed here:
#21492 (comment)
To reproduce
- sets a value for padding to 20
- saves the post
- reloads the editor
- click reset
- at this point, the padding value is 20 but reset doesn't work (I expected I'd be able to reset them)
Expected behavior
- sets a value for padding to 20
- saves the post
- reloads the editor
- click reset
- Padding should be 0. No padding inline styles
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Block] CoverAffects the Cover Block - used to display content laid over a background imageAffects the Cover Block - used to display content laid over a background image[Package] Components/packages/components/packages/components[Status] In ProgressTracking issues with work in progressTracking issues with work in progress
Type
Fields
Give feedbackNo fields configured for issues without a type.