From Mark Miller
Use Block Style Plugins to add form elements to blocks for editors to configure pre-made styles. In this tutorial we will use it to create a text field where an editor can add a CSS class. This class will automatically be applied to the block.