Merge pull request #193 from tractorcow/pulls/2.0/summary-css-class

Add class to summary holder
This commit is contained in:
Christopher Pitt 2015-04-21 15:10:51 +12:00
commit 97fea257c9

View File

@ -119,7 +119,9 @@ class BlogPost extends Page {
array(
$summary = HtmlEditorField::create("Summary", false)
)
)->setHeadingLevel(4);
)
->setHeadingLevel(4)
->addExtraClass('custom-summary');
$summary->setRows(5);
$summary->setDescription(_t(
'BlogPost.SUMMARY_DESCRIPTION',