"Fossies" - the Fresh Open Source Software Archive

Member "wordpress/wp-includes/block-patterns/heading-paragraph.php" (26 Aug 2020, 1142 Bytes) of package /linux/www/wordpress-5.7-RC1.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PHP source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "heading-paragraph.php" see the Fossies "Dox" file reference documentation.

    1 <?php
    2 /**
    3  * Heading and paragraph block pattern.
    4  *
    5  * @package WordPress
    6  */
    8 return array(
    9     'title'         => __( 'Heading and paragraph' ),
   10     'content'       => "<!-- wp:group -->\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container\"><!-- wp:heading {\"fontSize\":\"large\"} -->\n<h2 class=\"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 -->\n<p>" . __( '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 -->",
   11     'viewportWidth' => 1000,
   12     'categories'    => array( 'text' ),
   13     'description'   => _x( 'A heading preceded by a chapter number, and followed by a paragraph.', 'Block pattern description' ),
   14 );