-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Theme.json registered patterns missing in the Site Editor patterns view #55819
Comments
I see the clients pattern in the site editor on trunk: I wonder what is different on your setup @richtabor ? |
I tested it on the latest WordPress trunk and Gutenberg trunk, and I'm also seeing the same thing as @richtabor , but I think this is due to the difference in the specifications of the inserter and pattern page.
If you compare the number of patterns belonging to each category on the inserter and the pattern page, you will notice that the numbers are different. Patterns defined in the patterns property of TT4's theme.json are categorized in the patterns directory in the inserter.
I don't know why @glendaviesnz can't reproduce this problem, but if the specification is that the pattern defined in the |
I did a fresh install of TT4 on a site and was then seeing the same thing. @aaronrobertshaw can you remember the reasoning for not including these theme patterns in the site editor? If we decide that we want these |
My recollection was that no pattern directory patterns were to be included in the Site Editor patterns page. If I follow the examples correctly, the TT4 patterns in question are remote patterns from the pattern directory and so given previous decisions omitted from the patterns page. There was a plan to eventually allow remote patterns to be linked to from the Site Editor's Patterns page allowing users to copy those patterns to their local user-created patterns to manage further like those provided via files in a theme.
I also have a vague recollection of there being some issues with nested remote patterns so it might be more involved than simply deleting the |
TT4 adds two patterns via theme.json, which are available within the Inserter, but omitted from the Site Editor > Patterns view. I'd expect that the theme's patterns should each be listed in the Site Editor > Patterns view.
In the first screenshot, the 'clients-section' pattern is missing, but in the inserter, you can see it properly.
Related to #55109
The text was updated successfully, but these errors were encountered: