Merge pull request #3256 from tylerkidd/htmlEditorField_Field_fix

Updated HtmlEditorField Field()
This commit is contained in:
Sean Harvey 2014-07-04 11:59:24 +12:00
commit ceb1e6db38

View File

@ -90,9 +90,8 @@ class HtmlEditorField extends TextareaField {
}
$properties['Value'] = htmlentities($value->getContent(), ENT_COMPAT, 'UTF-8');
$obj = $this->customise($properties);
return $obj->renderWith($this->getTemplates());
return parent::Field($properties);
}
public function getAttributes() {