BUGFIX Removing "typography" class from HTMLEditorField container (should just apply to the contained <iframe>) (fixes #5949) (from r110809)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112847 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2010-10-19 01:33:28 +00:00
parent 1b95077fed
commit 61bb2fe4a4

View File

@ -22,7 +22,6 @@ class HtmlEditorField extends TextareaField {
public function __construct($name, $title = null, $rows = 30, $cols = 20, $value = '', $form = null) { public function __construct($name, $title = null, $rows = 30, $cols = 20, $value = '', $form = null) {
parent::__construct($name, $title, $rows, $cols, $value, $form); parent::__construct($name, $title, $rows, $cols, $value, $form);
$this->addExtraClass('typography');
$this->addExtraClass('htmleditor'); $this->addExtraClass('htmleditor');
self::include_js(); self::include_js();