I don’t use default gutenberg styling. I remove all the preloaded gutenberg css from a fresh wp installation. Any way to be able to use block just with a class name instead of wp-block+theme name+block name+custom class?
@Pinegrow_Learner why not just add the class “myblock” to the HTML element where the block is defined? The exported block top element will then have both the default WP class and “myblock”.
@matjaz Yes. I know that. I don’t want the default WP class as I don’t use any default gutenberg styling. I also prefer clean source for better readability. Above filter works well and only show my custom class. It will be nice if you can integrate the same in the block options.