mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 22:28:51 +01:00
Fix initialization of account profile field type "Markdown" (#6391)
This commit is contained in:
parent
77d64b1d32
commit
39df85830b
@ -52,3 +52,4 @@ HumHub Changelog
|
|||||||
- Enh #6370: Remove FlatElements CSS
|
- Enh #6370: Remove FlatElements CSS
|
||||||
- Enh #6384: Added Serbian(sr) language
|
- Enh #6384: Added Serbian(sr) language
|
||||||
- Enh #6389: Remove deprecated JS function `setModalLoader()`
|
- Enh #6389: Remove deprecated JS function `setModalLoader()`
|
||||||
|
- Fix #6391: Fix initialization of account profile field type "Markdown"
|
||||||
|
@ -61,15 +61,4 @@ class MarkdownEditor extends BaseType
|
|||||||
return parent::getFieldRules($rules);
|
return parent::getFieldRules($rules);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @inheritdoc
|
|
||||||
*/
|
|
||||||
public function getFieldFormDefinition(User $user = null, array $options = []): array
|
|
||||||
{
|
|
||||||
return parent::getFieldFormDefinition($user, array_merge([
|
|
||||||
'rows' => '3'
|
|
||||||
], $options));
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user