Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS

How to remove the spans in H1 & H2 tags (tinymce editor)


Reply

1021 Views

Avatar
mspacemedia

13 October 2010 at 12:19am Community Member, 7 Posts

Does anyone know what file I need to alter to make tinymce slightly more semantically correct when outputting H1 and H2 tags through the content editor?

The current code looks like this:

<h1><span style="blah blah">Welcome</span></h1>

I want output like this:

<h1>Welcome</h1>

Regards,

Mark