How to wrap all titles generated by Gutenberg "Heading" block with <span> tag
Gutenberg is still relative new concept, so I lack experiences (and the Internet lacks good tutorials). My goal it to wrap all heading titles generated by Gutenberg's "Heading" block with the span
tag. So instead following code
h2Tips and trics/h2
it renders this way
h2spanTips and trics/span/h2
How to start? It's JS or PHP job? Is there any filter family? What documentation search for on Wordpress.org?
Topic block-editor post-content filters theme-development Wordpress
Category Web