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

Locking Patterns #26544

Closed
pjsachdev opened this issue Oct 28, 2020 · 2 comments
Closed

Locking Patterns #26544

pjsachdev opened this issue Oct 28, 2020 · 2 comments
Labels
[Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced [Type] Enhancement A suggestion for improvement.

Comments

@pjsachdev
Copy link

Patterns are a great feature for content editors. However, there are occasions when it would be nice to lock a pattern so that the content editor can only add content and not add/remove blocks.

Does this functionality already exist or are there an plans to implement a feature like this?

@talldan
Copy link
Contributor

talldan commented Oct 29, 2020

I don't think so, this would be an enhancement, similar to the template lock.

It'd be a little harder to implement as templates are html snippets rather than block declarations. I wonder if it could be an attribute of the group block (locking its inner blocks).

I'll label as an enhancement

@talldan talldan added [Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced [Type] Enhancement A suggestion for improvement. labels Oct 29, 2020
@mtias
Copy link
Member

mtias commented Dec 1, 2020

This is already supported on groups and columns as of #26128

<!-- wp:group {"templateLock":"all"} -->

@mtias mtias closed this as completed Dec 1, 2020
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 [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

3 participants