Is there any manner I can robotically add a {custom} class to heading tags (like h1, h2, h3, and so forth..,) within the content material space. I do know that I can manually add a category to a sub-heading from the publish editor, however I need the category to be utilized to all of the headings in all of the posts.
as an example, a traditional heading will look one thing like this <h2>sub-heading</h2>
. I need this to be modified to <h2 class="custom-class">sub-heading</h2>
.