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

Add a way to hide patterns from the inserter #36084

Closed
jffng opened this issue Oct 29, 2021 · 0 comments · Fixed by #36108
Closed

Add a way to hide patterns from the inserter #36084

jffng opened this issue Oct 29, 2021 · 0 comments · Fixed by #36108
Assignees
Labels
[Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced [Feature] Themes Questions or issues with incorporating or styling blocks in a theme. [Status] In Progress Tracking issues with work in progress

Comments

@jffng
Copy link
Contributor

jffng commented Oct 29, 2021

What problem does this address?

There are scenarios where a theme author wants to supply a pattern but not have it show in the inserter.

Since the pattern block was added (#33217), some patterns will be created purely to allow the strings inside them to be translated and added to block templates. The theme author would likely not want these to show in the inserter.

What is your proposed solution?

Add a way to mark patterns so they do not appear in the pattern inserter. See this comment for more context — #33217 (comment)

@jffng jffng added [Feature] Themes Questions or issues with incorporating or styling blocks in a theme. [Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced labels Oct 29, 2021
@ntsekouras ntsekouras self-assigned this Nov 1, 2021
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced [Feature] Themes Questions or issues with incorporating or styling blocks in a theme. [Status] In Progress Tracking issues with work in progress
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants