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

core/html block rendering as html inside reusable block #48338

Closed
kmrmohit opened this issue Feb 23, 2023 · 2 comments
Closed

core/html block rendering as html inside reusable block #48338

kmrmohit opened this issue Feb 23, 2023 · 2 comments
Labels
[Block] HTML Affects the the HTML Block

Comments

@kmrmohit
Copy link

kmrmohit commented Feb 23, 2023

Description

core/html block doesn't render as preview when used inside reusable blocks. The expected behavior is that the core/html content renders as preview (which used to happen in version 5.5.1).

Step-by-step reproduction instructions

  1. Create a core/html block and add html to it.
  2. Set the core/html state to preview (not required imo but just to be sure)
  3. Convert the core/html block to a reusable block

Screenshots, screen recording, code snippet

Screenshot 2023-02-23 at 10 30 33 AM

Recording link: https://drive.google.com/file/d/1JiZxYg84cPCSLkev37Hl12UZn8aEPoZL/view?usp=sharing

Environment info

  • Wordpress 6.1.1, theme twentytwentythree, with and without plugin
  • Chrome 109.0.5414.119
  • macos monterey

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

@Mamaduka
Copy link
Member

I think we can adopt the same solution as for #47819.

@ndiego, should we close this as a duplicate?

@ndiego
Copy link
Member

ndiego commented Feb 23, 2023

@Mamaduka yeah, if the solution that is implemented for #47819 will also resolve this issue, I think we can close this out. While #47819 does not sound like the same bug, it is from a technical perspective.

@Mamaduka Mamaduka added the [Block] HTML Affects the the HTML Block label Feb 23, 2023
@Mamaduka Mamaduka closed this as not planned Won't fix, can't repro, duplicate, stale Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] HTML Affects the the HTML Block
Projects
None yet
Development

No branches or pull requests

3 participants