Skip to content
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

Custom Pattern: Pattern modal doesn't display custom patterns #51871

Closed
t-hamano opened this issue Jun 25, 2023 · 1 comment
Closed

Custom Pattern: Pattern modal doesn't display custom patterns #51871

t-hamano opened this issue Jun 25, 2023 · 1 comment
Labels
[Feature] Inserter The main way to insert blocks using the + button in the editing interface [Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed [Type] Bug An existing feature does not function as intended

Comments

@t-hamano
Copy link
Contributor

Description

If you register a custom pattern (a non-sync pattern), it will appear in the "Custom patterns" category of the main inserter. However, if you open the modal from the "Explore all patterns" button, nothing will appear in the Custom patterns category.

Step-by-step reproduction instructions

  • Register several patterns with Synced turned off from the Library menu in the Site Editor.
  • Open the main block inserter.
  • Click Patterns tab.
  • Click Custom patterns category.
  • The registered custom patterns should appear.
  • Click Explore all patterns button.
  • Click Custom patterns category.
  • No custom patterns should show anything.

Screenshots, screen recording, code snippet

c0fa9caa5f89b32523a8609f8031d79c.mp4

Environment info

No response

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

@t-hamano t-hamano added [Type] Bug An existing feature does not function as intended [Feature] Inserter The main way to insert blocks using the + button in the editing interface [Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced labels Jun 25, 2023
@t-hamano
Copy link
Contributor Author

After submitting this issue, I realized that this is a duplicate of #51844, so I am closing it.

@t-hamano t-hamano closed this as not planned Won't fix, can't repro, duplicate, stale Jun 25, 2023
@t-hamano t-hamano added the [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed label Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Inserter The main way to insert blocks using the + button in the editing interface [Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed [Type] Bug An existing feature does not function as intended
Projects
No open projects
Development

No branches or pull requests

1 participant