I have created a series of custom blocks for WordPress 5.0.0, and really enjoying the Gutenberg experience thus far. However, I'm struggling to find anything online that will allow me to alter the output of default blocks, such as the paragraph block?
For example, the default output of a paragraph block is:
<p>Text content</p>
But I would like to change it to something like the following:
<div class="wrapper">
<p class="my-class">Text Content</p>
</div>
If I can't achieve the above, then I will need to replace the default blocks with custom ones, which seems crazy given the blocks they have available.
Thanks.