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