JavaScript for WordPress Forums Gutenberg Development validate blocks Reply To: validate blocks

#132937
Zac Gordon
Keymaster

Hi!

Great question. To do this the official way you would use the deprecated property explained in the docs here – https://developer.wordpress.org/block-editor/developers/block-api/block-deprecation/

We will be covering this in an updated version of the course coming soon.

The other approach is to make all your blocks dynamic with PHP.