diff --git a/src/Blocks/Block.php b/src/Blocks/Block.php index 25e153b3..dc106ed9 100644 --- a/src/Blocks/Block.php +++ b/src/Blocks/Block.php @@ -66,7 +66,7 @@ public function render(): string $output = call_user_func($blockType->renderCallback, $this->attributes, $output, $this); } - if ($this->blockName === 'core/embed') { + if (strpos($this->blockName, 'embed') !== false) { $output = $this->embed($output); }