Skip to content

Commit 93e1795

Browse files
authored
Merge pull request #165 from devgeniem/TMS-994
TMS-994: Add missing list-item block to use
2 parents 16caf32 + a6ec74d commit 93e1795

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

CHANGELOG.MD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1212
### Added
1313

1414
- TMS-901: Add logo-wall & image-carousel components to single programs
15+
- TMS-994: Add missing list-item block to use
1516

1617
### Fixed
1718

lib/BlocksController.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,18 @@ private function allowed_block_types( $allowed_blocks, $context ) {
117117
'',
118118
],
119119
],
120+
'core/list-item' => [
121+
'post_types' => [
122+
PostType\Page::SLUG,
123+
PostType\DialTredu::SLUG,
124+
PostType\Post::SLUG,
125+
PostType\BlogArticle::SLUG,
126+
PostType\Project::SLUG,
127+
],
128+
'templates' => [
129+
'',
130+
],
131+
],
120132
'core/heading' => [
121133
'post_types' => [
122134
PostType\Page::SLUG,

0 commit comments

Comments
 (0)