-
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 Excerpt Block: settings duplicated when selecting between different post excerpts in a Query Loop #40358
Comments
I am able to replicate this. I believe we need to tackle for 6.0 and have added it to the board. |
I've done some digging into this. To reliably replicate the bug, I needed to not only select the Post Excerpt but also click into the "read more" link within it, then select a new Post Excerpt. I believe this is where recent partial block selection updates might be causing a problem. Git bisect appears to indicate the bug was introduced via #38892. There were similar issues hit when attempting to add a click handler for switching between selected blocks when clicking on a block preview in #37519. @ellatrix would you have any insights or thoughts on this issue? 🙏 I'm out of time today but will try and pick this up again in the next couple of days. |
@mcsf tagging you in since I know Ella is out for a bit :) |
Description
In Query Loop block when you choose post excerpt and if you have multiple post so in different post when you click on that post excerpt it will add multiple settings in inspector control.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
https://www.loom.com/share/34f6469686e0405cb13301e2819349b7
Environment info
WordPress 6.0 Beta 1, Gutenberg 13.0.0 and Twenty Twenty two theme.
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
The text was updated successfully, but these errors were encountered: