Required Block Attributes archived
WordPress plugin to check required block attributes are set when a post is published
by imath · github.com/imath/required-block-attributes · website
★ 4stars
1forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/imath/required-block-attributes/archive/refs/heads/master.zipFrom the readme
Required Block Attributes
This WP Plugin is no more maintained and is now archived
WordPress plugin to check required block attributes are set before a post is published or updated.
This plugin includes an example of block using the "required attribute" feature. To play with it, simply define the WPDEBUG constnat of your wp-config.php file to true.
To enjoy the feature for any other blocks simply use an the requiredAttributes property of your registerBlockType() function like the example block is doing.