diff --git a/packages/admin-block-editor/src/EditorJsHelper.php b/packages/admin-block-editor/src/EditorJsHelper.php index 74ce360ac..e20e801c4 100644 --- a/packages/admin-block-editor/src/EditorJsHelper.php +++ b/packages/admin-block-editor/src/EditorJsHelper.php @@ -30,10 +30,6 @@ public static function decode(string $raw): object if (! property_exists($block, 'type') || ! \is_string($block->type)) { throw new \Exception('Block must have a type (string)'); } - - if (! property_exists($block, 'data') || ! \is_object($block->data)) { - throw new \Exception('Block must have a data (object)'); - } } return $data; // @phpstan-ignore-line