-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Post Template: Add missing 'wp-block-post' class in the editor #40010
Conversation
Size Change: +557 B (0%) Total Size: 1.22 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the ping @Mamaduka, and for picking up this issue!
This is working for the post template preview within the editor, but once one of the instances of the post template is selected, it uses the PostTemplateInnerBlocks
component instead of the preview, so I think we might need to add a similar line around line 29 of the same file to handle that component? Here's the markup I'm seeing in the editor:
Good catch, @andrewserong. I will update code shortly. |
@andrewserong added missing class name in 386710d. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for testing and review, @andrewserong. |
What?
Closes #39991.
PR adds missing class to the Post Template’s post markup in Site Editor.
Testing Instructions