mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-13 22:26:06 +01:00
15 lines
1.2 KiB
PHP
15 lines
1.2 KiB
PHP
|
<?php
|
||
|
/**
|
||
|
* Heading and paragraph block pattern.
|
||
|
*
|
||
|
* @package WordPress
|
||
|
*/
|
||
|
|
||
|
return array(
|
||
|
'title' => __( 'Heading and paragraph' ),
|
||
|
'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><br>" . __( 'Which treats of the first sally the ingenious Don Quixote made from home' ) . "</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.' ) . "</p>\n<!-- /wp:paragraph --></div></div>\n<!-- /wp:group -->",
|
||
|
'viewportWidth' => 1000,
|
||
|
'categories' => array( 'text' ),
|
||
|
'description' => _x( 'A heading preceded by a chapter number, and followed by a paragraph.', 'Block pattern description' ),
|
||
|
);
|