Hi,
I have SS v.2.3.6 and in mysite/_config.php i have this code
// This line set's the current theme. More themes can be
// downloaded from http://www.silverstripe.com/themes/
HtmlEditorConfig::get('cms')->insertButtonsAfter('formatselect', 'forecolor');
HtmlEditorConfig::get('cms')->insertButtonsAfter('forecolor', 'backcolor');
HtmlEditorConfig::get('cms')->insertButtonsAfter('backcolor', 'removeformat');
HtmlEditorConfig::get('cms')->setOption('apply_source_formatting', 'false');
HtmlEditorConfig::get('cms')->setOption('verify_html', 'false');
HtmlEditorConfig::get('cms')->setOption('valid_elements', 'a[href|target|rel|class],b,br,font,img[src|id|width|height|align|hspace|vspace|style],i,li,p[class|id|style|align],h1,h2,h3[style|align],h4,h5,h6,span[class],textformat[blockindent|indent|leading|leftmargin|rightmargin|tabstops],u,table,tr,td,div[class|id|style|align],ul[id|class]');
However, when I try to float left an image in the cms like this <img src="sk.jpg" style="float:left">, when I click insert the style element gets stripped!
Any ideas? I have tried all the previous tickets and forum suggestions to no success :(
cheers