mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #3256 from tylerkidd/htmlEditorField_Field_fix
Updated HtmlEditorField Field()
This commit is contained in:
commit
ceb1e6db38
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user