I'm trying to create a style definion that add a <h2> tag with the class of '.green' to the tag but this doesn't seem to work very well
In the 'alias' field of the style editor, I can only submit a tag (eg h2) or a class (eg .green), but trying to combine both, like h2.green doesn't work.
issue creating style for TinyMCE Editor
Hi,
I'm trying to create a style definion that add a <h2> tag with the class of '.green' to the tag but this doesn't seem to work very well
In the 'alias' field of the style editor, I can only submit a tag (eg h2) or a class (eg .green), but trying to combine both, like h2.green doesn't work.
Anyone found a solution for this?
Thanks,
Anthony
Hi Anthony,
May be you could check in your RTE for any h2 tags and replace it or may be join the h2 tag with .green class ?
I havent try it myself just an idea
is working on a reply...