Skip to content

Commit

Permalink
Fix filter
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin940726 committed Apr 26, 2023
1 parent 8bd36a0 commit de7ade2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export function MediaPlaceholder( {
( block.name === 'core/image' ||
block.name === 'core/audio' ||
block.name === 'core/video' ) &&
block.attributes.src
block.attributes.url
? [ block ]
: recursivelyFindMediaFromBlocks( block.innerBlocks )
);
Expand Down

0 comments on commit de7ade2

Please sign in to comment.