From 4b2a1fbf9385dae0481154c373a31876da6aa940 Mon Sep 17 00:00:00 2001 From: Winkel Group SAS <57962651+winkelco@users.noreply.github.com> Date: Tue, 25 Oct 2022 00:31:47 -0500 Subject: [PATCH] Fix embed --- src/Blocks/Block.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }