Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

All Products: inner blocks don't honor global styles #7930

Closed
Aljullu opened this issue Dec 13, 2022 · 2 comments
Closed

All Products: inner blocks don't honor global styles #7930

Aljullu opened this issue Dec 13, 2022 · 2 comments
Labels
block: all products Issues related to the all products block. type: bug The issue/PR concerns a confirmed bug.

Comments

@Aljullu
Copy link
Contributor

Aljullu commented Dec 13, 2022

To reproduce

  1. Add the All Products block to a post or page.
  2. Edit the block with the pencil icon in the toolbar and change the global styles of one of the inner blocks.
    imatge
  3. Click on Done.
  4. Notice the changes are not applied in the editor.
    imatge
  5. Publish the post and visit it in the frontend.
  6. Notice the changes are not applied in the frontend either.

Expected behavior

The inner blocks should honor the defined styles.

@Aljullu Aljullu added type: bug The issue/PR concerns a confirmed bug. block: all products Issues related to the all products block. labels Dec 13, 2022
@danieldudzic
Copy link
Contributor

I have a feeling, this is a similar issue to: #7790 (review) - in which, the text alignment prop would be set to undefined in a different context than the editor (where it was working fine).

I had a short chat with @sunyatasattva about it but ultimately wasn't able to determine the culprit.

@Aljullu
Copy link
Contributor Author

Aljullu commented Mar 22, 2023

Closing based on the discussion on #8781 (comment).

@Aljullu Aljullu closed this as completed Mar 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
block: all products Issues related to the all products block. type: bug The issue/PR concerns a confirmed bug.
Projects
None yet
Development

No branches or pull requests

2 participants