-
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
Block patterns loading inconsistently #35852
Comments
-Is it the same pattern that doesn't load? What happens if you remove all patterns except the erroring? |
Patterns are valid, as they render out fine when I select them. The issue doesn't come from a pattern. Sometimes one is showing, sometimes not, and the same for others. I cannot reproduce the bug with any consistency, which makes this super hard to debug. I haven't tried it out in a plugin, just the core editor so far. |
As in today's bug scrub, pre 6.0 release, I could reproduce this issue when Gutenberg was not enabled. It applied to the third pattern to display, and not one particular pattern. With Gutenberg enabled, I could not reproduce it. Today on retesting, post 6.0 release, I can not currently reproduce the issue with Gutenberg enabled or not. |
For me, they do load now, but something is broken in how they are rendered, so I need to check out more about what happened here... |
@dingo-d I'm going to close this out for now as it doesn't appear this issue is still active. Please comment back here though if that's not the case! I'm always happy to reopen and reinvestigate. |
@annezazu I think there is another issue opened that I've commented on (cannot for the life of me find it atm) where there is no style applied to the patterns preview at all. |
Feel free to @ me on that issue but I am only closing this one out for now. I'll see if I can perhaps find the same one today. |
Description
When I register custom blocks and want to use them in the editor, sometimes they render out fine in the dropdown, and sometimes I only see the name of the pattern.
And no errors in the console, or debug log.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Three patterns load fine. Two don't.
Why?
Who knows 🤷🏼♂️
Environment info
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: