I'm trying to create custom columns block in Gutenberg.
Is it possible to add class to the wrapper of the element in the editor based on the attributes? I'd like to switch
??? to class based e.g.
columns-4. Otherwise it's not possible to use
<div id="..." class="wp-block editor-block-list__block ???" data-type="my-blocks/column" tabindex="0" aria-label="Block: Single Column"> <div> <div class="this-can-be-set-in-edit-or-attributes"> ... </div> </div> </div>