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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

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

Go to End



Community Member, 12 Posts

13 October 2010 at 12:19am

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: