ZF-4462: Zend dojo form editor IE bug
IE seems to send back the content of the dojo editor in an "Editor" variable, instead of the variable that was defined by the user when the form was build (FF is using that one).
$form->addElement( 'Editor', 'content', array('id' => 'content') );
Ok, I'd expect the content of the editor to be in the "content" variable, accessible by $_POST['content']
Now submit the form gives :
Array ( [title] => bug test 2 [content] => Array ( [Editor] => bug test 2 ) [sendlive] => 0 [id] => [save] => save )
That's not the case with IE, sending the content of the editor in an array inside the content variable
The same request using firefox :
Array ( [title] => test [content] => test bug firefox [sendlive] => 0 [id] => [save] => save )
Ok, FF works fine.