mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Merge pull request #185 from tractorcow/pulls/2.0/summary-size
Adjust size of custom summary and remove extra title
This commit is contained in:
commit
61f996461c
@ -117,9 +117,10 @@ class BlogPost extends Page {
|
||||
'CustomSummary',
|
||||
_t('BlogPost.CUSTOMSUMMARY', 'Add A Custom Summary'),
|
||||
array(
|
||||
$summary = HtmlEditorField::create("Summary")
|
||||
$summary = HtmlEditorField::create("Summary", false)
|
||||
)
|
||||
)->setHeadingLevel(4);
|
||||
$summary->setRows(5);
|
||||
$summary->setDescription(_t(
|
||||
'BlogPost.SUMMARY_DESCRIPTION',
|
||||
"If no summary is specified the first 30 words will be used."
|
||||
|
Loading…
Reference in New Issue
Block a user