21 if (!isset($instance)) {
28 public function add_config($names,$values, $replace=
false){
29 if (is_array($names) && is_array($values)){
30 foreach ($names as
$i => $name){
57 $rtn =
'tinyMCE.init({';
58 $configs =
'';
$i = 0;
61 $configs .= $name.
' : "'.$value.
'"'.(
$i>count($this->
configuration) ?
'' :
',').
"\n";
65 ed.onKeyUp.add(function(ed, e){
66 if (tinyMCE.activeEditor.isDirty())