diff --git a/lib/test-block-patterns.php b/lib/test-block-patterns.php index 162d2e60af419..ee57b303a12cf 100644 --- a/lib/test-block-patterns.php +++ b/lib/test-block-patterns.php @@ -12,12 +12,9 @@ register_block_pattern( 'paragraph/v1', array( - 'title' => __( 'Paragraph version 1', 'gutenberg' ), - 'scope' => array( - 'inserter' => false, - 'transform' => array( 'core/paragraph' ), - ), - 'content' => ' + 'title' => __( 'Paragraph version 1', 'gutenberg' ), + 'blockTypes' => array( 'core/paragraph' ), + 'content' => '
Hello my paragraph!
', ) @@ -25,12 +22,9 @@ register_block_pattern( 'paragraph/v2', array( - 'title' => __( 'Paragraph version 2', 'gutenberg' ), - 'scope' => array( - 'inserter' => false, - 'transform' => array( 'core/paragraph' ), - ), - 'content' => ' + 'title' => __( 'Paragraph version 2', 'gutenberg' ), + 'blockTypes' => array( 'core/paragraph' ), + 'content' => 'Hello my paragraph!
', ) @@ -40,12 +34,9 @@ register_block_pattern( 'multi/v2', array( - 'title' => __( 'Multi blocks v2 - deep nesting', 'gutenberg' ), - 'scope' => array( - 'inserter' => false, - 'transform' => array( 'core/paragraph', 'core/heading' ), - ), - 'content' => ' + 'title' => __( 'Multi blocks v2 - deep nesting', 'gutenberg' ), + 'blockTypes' => array( 'core/paragraph', 'core/heading' ), + 'content' => 'example@example.com
T. +00 (0)1 22 33 44 55
2, Rue Losuis-Boilly
Paris, France