mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Add class to summary holder
This commit is contained in:
parent
6ac6986ee6
commit
d4c80750ad
@ -119,7 +119,9 @@ class BlogPost extends Page {
|
|||||||
array(
|
array(
|
||||||
$summary = HtmlEditorField::create("Summary", false)
|
$summary = HtmlEditorField::create("Summary", false)
|
||||||
)
|
)
|
||||||
)->setHeadingLevel(4);
|
)
|
||||||
|
->setHeadingLevel(4)
|
||||||
|
->addExtraClass('custom-summary');
|
||||||
$summary->setRows(5);
|
$summary->setRows(5);
|
||||||
$summary->setDescription(_t(
|
$summary->setDescription(_t(
|
||||||
'BlogPost.SUMMARY_DESCRIPTION',
|
'BlogPost.SUMMARY_DESCRIPTION',
|
||||||
|
Loading…
Reference in New Issue
Block a user