diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 6bc1349e..fa020bd4 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Added - TMS-974: Add recurring events to lists as single item. +- TMS-994: Add missing list-item block to use ### Fixed diff --git a/lib/BlocksController.php b/lib/BlocksController.php index ffa1d871..a7b6e3fa 100644 --- a/lib/BlocksController.php +++ b/lib/BlocksController.php @@ -113,6 +113,16 @@ private function allowed_block_types( $allowed_blocks, $context ) { '', ], ], + 'core/list-item' => [ + 'post_types' => [ + PostType\Page::SLUG, + PostType\Post::SLUG, + PostType\BlogArticle::SLUG, + ], + 'templates' => [ + '', + ], + ], 'core/heading' => [ 'post_types' => [ PostType\Page::SLUG,