Skip to content

Commit d78fffa

Browse files
committed
TMS-1230: Allow audio-block
1 parent c7589d3 commit d78fffa

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

CHANGELOG.MD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
- TMS-1230: Allow audio-block
11+
1012
## [1.69.0] - 2025-11-18
1113

1214
- Fix PHP deprecations

lib/BlocksController.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,13 @@ private function add_block_data_to_debugger( $data, GeniemBlock $block ) {
101101
*/
102102
private function allowed_block_types( $allowed_blocks, $context ) {
103103
$blocks = [
104+
'core/audio' => [
105+
'post_types' => [
106+
PostType\Page::SLUG,
107+
PostType\Post::SLUG,
108+
PostType\BlogArticle::SLUG,
109+
],
110+
],
104111
'core/block' => [],
105112
'core/template' => [],
106113
'core/list' => [

0 commit comments

Comments
 (0)