Seem impossible to define a style for SimpleTinyMCEField class
$fields->push( new SimpleTinyMCEField( 'ArticleContent', 'Article Content',
array(
'css' => 'mysite/css/style.css',
'insertUnorderedList' => true,
'copy' => true,
'justifyCenter' => false
),
28
) );
eveything inside the $config array is not considered
----
I hope this help someone else that stumbles this problem I'm see that inside SimpleTinyMCEField constructor is missing something similar to:
if(!empty($config)) {
foreach($config as $k => $v) {
if($k == "css") $this->css = $v;
else if(array_key_exists($k, $this->controls))
$this->controls[$k] = $v;
}
}
which is in SimpleHTMLEditorField, something that sets all the configurations from the $config param
in my code, before i push the SimpleTinyMCEField object I've set_default_content_css function and left the array empty