Support » Plugin: TinyMCE Advanced » Remove SPAN from backcolor

  • Currently how TinyMCE works is whenever you add a background color to an element using the backcolor button 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_init passes to it but the array doesn’t look like it has what I need to change the backcolor functionality.

    https://wordpress.org/plugins/tinymce-advanced/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Remove SPAN from backcolor’ is closed to new replies.