From 2c08cc0af8d49ea1b8a35cde948db2a8f6e55101 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrique=20S=C3=A1nchez?= Date: Thu, 23 Jul 2020 12:27:56 -0500 Subject: [PATCH] Updates Two buttons pattern (#24136) * Updates content and style, also adds a description * Update test snapshot --- lib/patterns/two-buttons.php | 3 ++- .../various/__snapshots__/adding-patterns.test.js.snap | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/lib/patterns/two-buttons.php b/lib/patterns/two-buttons.php index 5e07110402690e..90564c4c30487d 100644 --- a/lib/patterns/two-buttons.php +++ b/lib/patterns/two-buttons.php @@ -7,7 +7,8 @@ return array( 'title' => __( 'Two buttons', 'gutenberg' ), - 'content' => "\n
\n\n\n\n\n\n
\n", + 'content' => "\n
\n\n\n\n\n\n
\n", 'viewportWidth' => 500, 'categories' => array( 'buttons' ), + 'description' => _x( 'Two buttons, one filled and one outlined, side by side.', 'Block pattern description', 'gutenberg' ), ); diff --git a/packages/e2e-tests/specs/editor/various/__snapshots__/adding-patterns.test.js.snap b/packages/e2e-tests/specs/editor/various/__snapshots__/adding-patterns.test.js.snap index 0153e342604721..40ef6b14920cd0 100644 --- a/packages/e2e-tests/specs/editor/various/__snapshots__/adding-patterns.test.js.snap +++ b/packages/e2e-tests/specs/editor/various/__snapshots__/adding-patterns.test.js.snap @@ -2,12 +2,12 @@ exports[`adding blocks should insert a block pattern 1`] = ` " -
- + " -`; +`; \ No newline at end of file