gutenberg add classes to list items

how can I add a class to li elements when creating block templates? I get to here:

array( ‘core/list’, array(
‘className’ => ‘list-unstyled h5’,
) ),

which adds the classes to the but how do I add classes to the element?

Read more here:: gutenberg add classes to list items

Leave a Reply

Your email address will not be published. Required fields are marked *