Repository navigation
Fix issue #69517 - The latest posts block doesn't render the post blo… - #69518
JorgeVilchez95 wants to merge 1 commit into
Conversation
… post blocks properly when displaying the post content
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Hi @JorgeVilchez95! |
|
Hi @renatho! On second thought, I think you are right. I will look for a more root-focused solution as you suggest. Thanks. |
|
Thank you for looking into this, @JorgeVilchez95! The root cause, blocks not being parsed in the Latest Posts full content, was fixed in #74866, so the gallery-specific CSS here is no longer needed. Closing as superseded. Please open a new issue if you still see rendering problems on trunk. |
…cks properly when displaying the post content
What?
Closes #69517
This PR tries to solve PR by modifying CSS
Why?
When we add the Latest Blocks to a page, activate the "Post content" and "Full post", I would expect to have the full post rendered properly as it works in the page, but it doesn't parse the blocks properly. Now I'm solving this.
Testing Instructions
1- Add a gallery block to a post with at least 2 images.
2- Create a new page.
3- Add the "Latest Posts" block.
4- In the sidebar settings, check "Post content" and "Full post".
5- Check that the gallery have the images side by side as the original post.
Screenshots or screencast
|
|
|