Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds 'Heading and paragraph' pattern
- Loading branch information
1 parent
1a16a0f
commit 21c54de
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
/** | ||
* Heading and paragraph block pattern. | ||
* | ||
* @package gutenberg | ||
*/ | ||
|
||
return array( | ||
'title' => __( 'Heading and paragraph', 'gutenberg' ), | ||
'content' => "<!-- wp:group -->\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container\"><!-- wp:heading {\"textColor\":\"black\",\"fontSize\":\"large\"} -->\n<h2 class=\"has-black-color has-text-color has-large-font-size\"><span style=\"color:#ba0c49\" class=\"has-inline-color\"><strong>2</strong>. </span>" . __( ' Which treats of the first sally the ingenious Don Quixote made from home', 'gutenberg' ) . " | ||
</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"textColor\":\"black\"} -->\n<p class=\"has-black-color has-text-color\">" . __( 'These preliminaries settled, he did not care to put off any longer the execution of his design, urged on to it by the thought of all the world was losing by his delay, seeing what wrongs he intended to right, grievances to redress, injustices to repair, abuses to remove, and duties to discharge.', 'gutenberg' ) . " | ||
</p>\n<!-- /wp:paragraph --></div></div>\n<!-- /wp:group -->", | ||
'viewportWidth' => 1000, | ||
'categories' => array( 'text' ), | ||
'description' => _x( 'A heading followed by a paragraph.', 'Block pattern description', 'gutenberg' ), | ||
); |