Jump to:

5450 Posts in 1672 Topics by 1197 members

Customising the CMS

SilverStripe Forums » Customising the CMS » How to remove the spans in H1 & H2 tags (tinymce editor)

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

Page: 1
Go to End
Author Topic: 945 Views
  • mspacemedia
    Avatar
    Community Member
    7 Posts

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

    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

    945 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.