Skip to content
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

Social Icons 'block spacing' resets after saving #38549

Closed
kosvrouvas opened this issue Feb 5, 2022 · 0 comments · Fixed by #38561
Closed

Social Icons 'block spacing' resets after saving #38549

kosvrouvas opened this issue Feb 5, 2022 · 0 comments · Fixed by #38561
Assignees
Labels
[Block] Social Affects the Social Block - used to display Social Media accounts [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@kosvrouvas
Copy link

kosvrouvas commented Feb 5, 2022

Description

(FYI I also posted this here but as @mauriac mentioned it seems Gutenberg related)

When editing a social icons block, and you set some pixels to the block spacing, hitting save works as expected. Leaving the editing area and entering again, the block spacing field resets, and if you make other changes to the page and hit save. The icons reset their distance.

This was tested on both twentytwentytwo, and blockbase themes, on 3 different installs, locally and on a server.

Step-by-step reproduction instructions

  1. Ad a social icon block
  2. Set a spacing
  3. Hit save and leave the editor
  4. Enter the editor again, the spacing should be reseted
  5. Change something else in the page and hit save.
  6. Social blocks spacing is removed on the frontend.

Screenshots, screen recording, code snippet

https://www.youtube.com/watch?v=CBRiVSCuO9U

Environment info

WordPress 5.9, Full site editing, twenty-twenty two theme and blockbase. Local and server environment.

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@youknowriad youknowriad added [Block] Social Affects the Social Block - used to display Social Media accounts [Type] Bug An existing feature does not function as intended labels Feb 7, 2022
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Social Affects the Social Block - used to display Social Media accounts [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants