OK I figured this out.
What you have to do is go into the extension settings. Add ALL of the attributes you want TinyMCE to utilize. you have to configure this correctly too or it won’t work.
Here’s what I changed mine to. I removed the align and border options from the img tag and it worked great. I also added style= so I could manually put the style in to float the image left or right. This does pass XHTML Strict validation too.
valid_elements : "" +
"+a[id|style|rel|rev|charset|hreflang|dir|lang|tabindex|accesskey|type|name|href|target|title|class|onfocus|onblur|onclick|" +
"ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup]," +
"-strong/-b[class|style]," +
"-em/-i[class|style]," +
"-strike[class|style]," +
"-u[class|style]," +
"#p[id|style|dir|class|align]," +
"-ol[class|style]," +
"-ul[class|style]," +
"-li[class|style]," +
"br," +
"img[id|dir|lang|longdesc|usemap|style|class|src|onmouseover|onmouseout|alt=|title|style=|hspace|vspace|width|height]," +
"-sub[style|class]," +
"-sup[style|class]," +
"-blockquote[dir|style]," +
"-table[border=0|cellspacing|cellpadding|width|height|class|align|summary|style|dir|id|lang|bgcolor|background|bordercolor]," +
"-tr[id|lang|dir|class|rowspan|width|height|align|valign|style|bgcolor|background|bordercolor]," +
"tbody[id|class]," +
"thead[id|class]," +
"tfoot[id|class]," +
"-td[id|lang|dir|class|colspan|rowspan|width|height|align|valign|style|bgcolor|background|bordercolor|scope]," +
"-th[id|lang|dir|class|colspan|rowspan|width|height|align|valign|style|scope]," +
"caption[id|lang|dir|class|style]," +
"-div[id|dir|class|align|style]," +
"-span[style|class|align]," +
"-pre[class|align|style]," +
"address[class|align|style]," +
"-h1[id|style|dir|class|align]," +
"-h2[id|style|dir|class|align]," +
"-h3[id|style|dir|class|align]," +
"-h4[id|style|dir|class|align]," +
"-h5[id|style|dir|class|align]," +
"-h6[id|style|dir|class|align]," +
"hr[class|style]," +
"-font[face|size|style|id|class|dir|color]," +
"dd[id|class|title|style|dir|lang]," +
"dl[id|class|title|style|dir|lang]," +
"dt[id|class|title|style|dir|lang]"
This is listed in their wiki. There’s also advanced attribs you can use. but for my use this was plenty.
As you can see by the list, i could have trimmed this down a LOT. but remember, anything you remove from here will not be available and will be stripped when you try posting them. There are still lots of attributes here that wont pass. Like cellpadding etc. but i didn’t bother removing everything. I will, but for now my goal was to get rid of the align and border commands, and this worked.