block-lab icon indicating copy to clipboard operation
block-lab copied to clipboard

Block template stub

Open lukecarbis opened this issue 6 years ago • 1 comments

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().

lukecarbis avatar Aug 26 '19 04:08 lukecarbis

That's a good idea, it'll help remove the need for people to look at the documentation first.

kienstra avatar Aug 26 '19 16:08 kienstra