gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

Read more block not working properly on the front side.

Open viralsampat-multidots opened this issue 3 years ago • 2 comments

Description

Hello Team,

I have worked on GB Read More block and found that it's not working properly on the front side.

When we select its background colour, text colour, add some padding, add a border and then update the page. It's working as expected on the admin side. But when we check the same changes on the front side it does not appear properly.

Here, I have provided its video: Issue Video

Also, I have attached its screenshots for the back-end & front-end.

Backend: CleanShot 2023-02-17 at 14 38 49@2x

Front-end: CleanShot 2023-02-17 at 14 38 39@2x

Thanks,

Step-by-step reproduction instructions

  • Type / to choose a block
  • Select Read More block
  • Change its text colour, Background colour, add a border.
  • Save the changes and publish the page.
  • Then open page "Preview in new tab"

Screenshots, screen recording, code snippet

No response

Environment info

  • WordPress version: 6.1.1, Gutenberg 15.1.1, Theme active: Twenty Twenty-Two,
  • Browser: Google chrome, Version 109.0.5414.119 (Official Build) (arm64)
  • Device: MacBook Air M1
  • OS: macOS 13.1

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

No

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

Yes

viralsampat-multidots avatar Feb 17 '23 09:02 viralsampat-multidots

Thanks ! for sharing the issue, however i am not able to reproduce the issue, i think its been resolved in newer updates, still if you are able to reproduce the issue please share specific thing if i am missing.

https://github.com/user-attachments/assets/ced7c84c-dbd6-4357-8028-1f19d7b33dc9

dpmehta avatar Mar 10 '26 11:03 dpmehta

Thanks for the report! Re-tested on trunk with Twenty Twenty-Two: a Read More block with text and background colors, padding and a border now renders identically in the editor and on the front end. Closing, as @dpmehta also found. Please open a new issue with the exact markup if you still see a difference.

youknowriad avatar Sep 18 '26 14:09 youknowriad