-
Notifications
You must be signed in to change notification settings - Fork 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
Site Editor - Pattern Categories - Add a filter in Gutenberg to extend the order #77130
Comments
@richtabor what do you think about adding this feature in core? I can create issues and maybe a PR too. cc: @Automattic/lego |
What order would dotCom use that shouldn't be used outside of dotCom? I'm not particularly convinced reordering is a good idea, but I may be convinced otherwise. |
Dotcom had the Featured category on top of the rest. The alphabetical order works well, and I think that having the same order in Core and Dotcom is more user-friendly. |
Looks good to me 👍 |
@miksansegundo mind writing up an issue in Gutenberg to propose the changes? |
Closing in favor of WordPress/gutenberg#60210 |
What
Add a new filter to customize the order of categories and patterns in the editor.
The order of categories is alphabetical after WordPress/gutenberg#53835 was merged.
Category list in the pattern inserter
Category list in the patterns admin
Why
Because different projects using the editor have different needs.
The editor doesn't allow extending the sorting in:
How
Adding hooks/filters to customize the ordering will be useful for us in Dotcom and others too.
The text was updated successfully, but these errors were encountered: