diff --git a/docs/en/topics/rich-text-editing.md b/docs/en/topics/rich-text-editing.md index 5eab0891d..0ff95a0fe 100644 --- a/docs/en/topics/rich-text-editing.md +++ b/docs/en/topics/rich-text-editing.md @@ -15,7 +15,7 @@ functionality. It is usually added through the `[api:DataObject->getCMSFields()] :::php class MyObject extends DataObject { static $db = array('Content' => 'HTMLText'); - + public function getCMSFields() { return new FieldList(new HTMLEditorField('Content')); }