Skip to content

Commit

Permalink
Merge pull request #483 from devgeniem/TMS-994
Browse files Browse the repository at this point in the history
TMS-994: Add missing list-item block to use
  • Loading branch information
eebbi authored Nov 21, 2023
2 parents 5367de0 + 80937f2 commit 2b2daf5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
10 changes: 10 additions & 0 deletions lib/BlocksController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2b2daf5

Please sign in to comment.