Hi There,
I’ve set up some styles and added the styles to the CSS selectors for tinyMCE.
When I apply the styles to images and links, things work as expected. I get:
Or:
But when applying classes to text, rather than <p class="boxred" I get:
<span style="font-family: __;">
Is there a way get tinyMCE to add classes to P tags like this?
Also, is there a way to wrap a block of text in a div with a class to get something link this:
<div class="boxred">
<h3>Headline<h3>
<p>Body text goes here</p>
</div>
Instead I get this:
<div><h3>Headline<h3></div>
<div><p>Body text goes here</p></div>
Any help would be much appreciated.
Cheers