more bug fixes

This commit is contained in:
JT Smith 2005-08-17 21:53:54 +00:00
parent 9b37deeba2
commit 78274f1910
3 changed files with 13 additions and 7 deletions

View file

@ -463,7 +463,7 @@ sub getRichEditor {
$language = WebGUI::International::getLanguage("English","languageAbbreviation");
}
$config{language} = $language;
$config{content_css} = $self->getValue("cssFile") if ($self->getValue("cssFile") ne "");
$config{content_css} = $self->getValue("cssFile") || $session{config}{extrasURL}.'/tinymce/defaultcontent.css';
$config{width} = $self->getValue("editorWidth") if ($self->getValue("editorWidth") > 0);
$config{height} = $self->getValue("editorHeight") if ($self->getValue("editorHeight") > 0);
$config{plugins} = join(",",@plugins);