Skip to content

Commit

Permalink
TMS-994: Add missing list-item block to use
Browse files Browse the repository at this point in the history
  • Loading branch information
eebbi committed Nov 17, 2023
1 parent fb696c9 commit 5532dd3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

- TMS-994: Add missing list-item block to use

## [1.53.0] - 2023-11-07

### Added
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 5532dd3

Please sign in to comment.