diff --git a/src/wp-includes/block-patterns.php b/src/wp-includes/block-patterns.php new file mode 100644 index 0000000000..77ce9cb6df --- /dev/null +++ b/src/wp-includes/block-patterns.php @@ -0,0 +1,33 @@ + _x( 'Buttons', 'Block pattern category', 'gutenberg' ) ) ); +register_block_pattern_category( 'columns', array( 'label' => _x( 'Columns', 'Block pattern category', 'gutenberg' ) ) ); +register_block_pattern_category( 'gallery', array( 'label' => _x( 'Gallery', 'Block pattern category', 'gutenberg' ) ) ); +register_block_pattern_category( 'header', array( 'label' => _x( 'Headers', 'Block pattern category', 'gutenberg' ) ) ); +register_block_pattern_category( 'text', array( 'label' => _x( 'Text', 'Block pattern category', 'gutenberg' ) ) ); diff --git a/src/wp-includes/block-patterns/large-header-paragraph.php b/src/wp-includes/block-patterns/large-header-paragraph.php new file mode 100644 index 0000000000..c6e520ac33 --- /dev/null +++ b/src/wp-includes/block-patterns/large-header-paragraph.php @@ -0,0 +1,13 @@ + __( 'Large header and a paragraph' ), + 'content' => "\n
" . __( '"Sir Knight"' ) . "
\n\n\n\n" . __( 'If your worship be disposed to alight, you will fail of nothing here but of a bed as for all other accommodations, you may be supplied to your mind.' ) . "
\n" . __( 'Large header' ) . "
\n\n", + 'viewportWidth' => 800, + 'categories' => array( 'text' ), +); diff --git a/src/wp-includes/block-patterns/testimonials.php b/src/wp-includes/block-patterns/testimonials.php new file mode 100644 index 0000000000..3fa53c25c0 --- /dev/null +++ b/src/wp-includes/block-patterns/testimonials.php @@ -0,0 +1,13 @@ + __( 'Testimonials' ), + 'content' => "\n" . __( '"Sir Knight, if your worship be disposed to alight, you will fail of nothing here but of a bed as for all other accommodations, you may be supplied to your mind."' ) . '
' . __( '— Don Quixote' ) . "
" . __( '"Sir Knight, if your worship be disposed to alight, you will fail of nothing here but of a bed as for all other accommodations, you may be supplied to your mind."' ) . "
\n" . __( 'Doris Som' ) . "
\n" . __( '"Signor Castellano, the least thing in the world suffices me; for arms are the only things I value, and combat is my bed of repose."' ) . "
\n" . __( 'Walt Art' ) . "
\n" . __( 'With that he went and held Don Quixote\'s stirrup, who having ate nothing all that day, dismounted with no small trouble and difficulty.' ) . "
\n\n\n\n \n" . __( 'In short, let if be what it will, so it comes quickly; for the weight of armour and the fatigue of travel are not to be supported without recruiting food.' ) . "
\n\n\n\n \n" . __( 'Thereupon they laid the cloth at the inn-door for the benefit of the fresh air, and the landlord brought him a piece of the salt fish.' ) . "
\n\n\n\n \n" . __( 'This language, which they did not understand, and the extraordinary appearance of the knight, increased their laughter, which also increased his displeasure, and he would probably have shown it in a less civil way, but for the timely arrival of the innkeeper.' ) . "
\n" . __( 'He was a man whose burden of fat inclined him to peace and quietness, yet when he observed such a strange disguise of human shape in his old armour and equipage, he could hardly forbear laughter; but having the fear of such a warlike appearance before his eyes, he resolved to give him good words, and therefore accosted him civilly.' ) . "
\n" . __( 'CHAPTER 1. Loomings' ) . "
\n\n\n\n" . __( 'Call me Ishmael. Some years ago—never mind how long precisely—having little or no money in my purse, and nothing particular to interest me on shore, I thought I would sail about a little and see the watery part of the world. It is a way I have of driving off the spleen and regulating the circulation.' ) . "
\n" . __( 'Whenever I find myself growing grim about the mouth; whenever it is a damp, drizzly November in my soul; whenever I find myself involuntarily pausing before coffin warehouses, and bringing up the rear of every funeral I meet; and especially whenever my hypos get such an upper hand of me, that it requires a strong moral principle to prevent me from deliberately stepping into the street, and methodically knocking people’s hats off—then, I account it high time to get to sea as soon as I can.' ) . "
\n