<![CDATA[ Adding span classes - My Forums]]> https://forums.modx.com/thread/?thread=92785 <![CDATA[Adding span classes]]> https://forums.modx.com/thread/92785/adding-span-classes#dis-post-506918
It should be
<h1 class="blogNewsSubhead"> … </h1>


but instead I'm getting
<h1><span class="blogNewsSubhead"> … </span></h1>


Me as the developer can manually correct this but a standard user won't.

Does anyone know how I stop it adding this span class?
]]>
evegate94 Aug 20, 2014, 04:28 PM https://forums.modx.com/thread/92785/adding-span-classes#dis-post-506918
<![CDATA[Re: Adding span classes]]> https://forums.modx.com/thread/92785/adding-span-classes#dis-post-525651
If you're using TinyMCE, which it sounds like you are, the best way around this is to train your clients to use the handy path indicator at the bottom of the editor window which will show the current location within the underlying markup. You can click on elements in this path to select a parent block and then apply styles to that block.

You might want to look at Redactor as well http://www.modmore.com/extras/redactor/. TinyMCE is a bloated mess at this point in my opinion.]]>
claytonk May 17, 2015, 11:57 AM https://forums.modx.com/thread/92785/adding-span-classes#dis-post-525651
<![CDATA[Re: Adding span classes]]> https://forums.modx.com/thread/92785/adding-span-classes#dis-post-525646 https://www.modmore.com/extras/contentblocks/]]> markh May 17, 2015, 10:36 AM https://forums.modx.com/thread/92785/adding-span-classes#dis-post-525646 <![CDATA[Re: Adding span classes]]> https://forums.modx.com/thread/92785/adding-span-classes#dis-post-525498 evegate94 May 14, 2015, 09:20 AM https://forums.modx.com/thread/92785/adding-span-classes#dis-post-525498 <![CDATA[Re: Adding span classes]]> https://forums.modx.com/thread/92785/adding-span-classes#dis-post-525495
Anyone?...]]>
Gav May 14, 2015, 05:15 AM https://forums.modx.com/thread/92785/adding-span-classes#dis-post-525495