-
Notifications
You must be signed in to change notification settings - Fork 5
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
How to disable specific heading levels in the Editor #338
Comments
The snippet is ready for a first review here: https://docs.google.com/document/d/1BOuO8eqqMfVae-wBzfItBOr5MMuuO0heY7_kJG07_OM/edit |
@ndiego I reviewed this, had one minor comment. Great article, I upgraded to 6.7 today and remove an older block check in lieu of this function and it's working great! |
This snippet is ready for a second review. The public preview is available here: https://developer.wordpress.org/news/?p=4727&post_type=snippets&preview=1&_ppp=a9ca7ab3d2 |
Just reviewed and it's great. You can certainly publish it. I added the checklistz here so we can evaluate if we need all the steps for snippets, too. Pre-publishing checklist: (updated 1/29/2024)
Post-publishing checklist
|
The post has been published here: https://developer.wordpress.org/news/snippets/how-to-disable-heading-levels-in-the-editor/ Social copy
|
Social schedule for Nov 26 |
Discussed in #323
Originally posted by ndiego October 22, 2024
This would be a snippet that provides an example of the heading-level curation options available in WordPress 6.7.
The snippet will show you how to disable H1, H5, and H6 in the Heading block for all users who are not administrators using PHP.
The text was updated successfully, but these errors were encountered: