block-lab
block-lab copied to clipboard
Block template stub
A feature request I hear a lot is the ability to quickly stub out a template from Block Lab's block builder UI.
The purpose is to quickly copy all the field names into a document so that you don't have to go back and forth copy / pasting them.
This could be done with a button that automatically creates the block template in your theme, or shows a starter template in a textarea that could be copy / pasted just once.
You could also have options for copying the block_field() calls, or alternatively, having all the fields preset to a variable using block_value().
That's a good idea, it'll help remove the need for people to look at the documentation first.