Skip to content

Cover: Reset should remove all user changes #23030

@ItsJonQ

Description

@ItsJonQ

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

Metadata

Metadata

Assignees

Labels

[Block] CoverAffects the Cover Block - used to display content laid over a background image[Package] Components/packages/components[Status] In ProgressTracking issues with work in progress

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions