I'm using the Advanced TinyMCE Editor plugin, primarily to give my users an easy way to insert and edit tables in posts, which should be a great boon to them.
I'm running into problems with styles, though. The code TinyMCE generates for a table with a border, say, looks like this:
<table style="border: 3px solid #353026;
background color: #b7ae99" border="3" etc.>
Upon saving, WordPress strips it down to this:
<table style="background-color: #b7ae99" border="3" etc.>
I've already tinkered with kses.php, and added a
'style' => array()
to the 'table' array.
Just for kicks (without a clue what I was doing), I tried adding stuff into the style array, ie:
'table' => array (
'align' => array (),
...,
'style' => array ('border' => array ()),
...)
but that doesn't seem to do help. (Nor did I really expect it to.)
Anyone have an idea why it's content to leave
style="background-color"
in place, but strips out everything else?
Thanks,
jeff.