-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 option for fully locking a block #51968
Comments
We also don't have a UI for content only. |
Related on the theme author front: #36008 |
+1 |
Isn't this solved by |
@fabiankaegy This isn't about disabling the option to use a block it's about adding a block with content and disabling the option for that content to be changed. |
@bradhogan Yeah, I get that. I think that exactly is possible with this. A block can programmatically get its editing mode set to |
@fabiankaegy Ok got it. So you're saying this could potentially be implemented in core (or Gutenberg) relatively easily since the option is essentially already there. 🤞 |
Currently, the locking options are all about selectively restricting some block interactions. "Content only" introduced a little while back started dealing with the editing of blocks. We are lacking an option to fully lock down a block so that no edits are possible.
The text was updated successfully, but these errors were encountered: