Remove SPAN from backcolor
-
Currently how TinyMCE works is whenever you add a background color to an element using the
backcolorbutton it adds an interior span wrapper. What I’m looking to do instead is put the style attribute / color onto the element itself.I’ve searched this topic on various outlets but haven’t found a suitable solution as it appears not to be a common request. Unfortunately styling the span to be block level isn’t an option nor is making the background color a class.
Any push in the right direction would be helpful. I’ve looked at what
tiny_mce_before_initpasses to it but the array doesn’t look like it has what I need to change the backcolor functionality.
The topic ‘Remove SPAN from backcolor’ is closed to new replies.