JavaScript for WordPress › Forums › Gutenberg Development › Metaboxes question – relation with block vs post object › Reply To: Metaboxes question – relation with block vs post object
October 4, 2018 at 2:32 pm
#60510
Zac Gordon
Keymaster
Great question 🙂
Technically the metabox is still tied to post object. But if that block is not added, then correct there would not be a value.
It is possible to use block template to make certain blocks required.
That is covered in depth in the Gutenberg theme development course, but I have a quick tutorial on it here https://wp.zacgordon.com/2018/01/05/how-to-add-block-templates-to-your-wordpress-theme-or-plugin/
Hope I understood your question correctly and that helps!