mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-07 09:49:04 +00:00
Block Editor: Add the initial set of block patterns.
Included patterns: text-two-columns two-buttons two-images text-two-columns-with-images text-three-columns-buttons large-header large-header-paragraph three-buttons quote testimonials Props mcsf, nrqsnchz. See #50550. git-svn-id: https://develop.svn.wordpress.org/trunk@48334 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
13
src/wp-includes/block-patterns/quote.php
Normal file
13
src/wp-includes/block-patterns/quote.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
/**
|
||||
* Quote block pattern.
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
|
||||
return array(
|
||||
'title' => __( 'Quote' ),
|
||||
'content' => "<!-- wp:quote {\"className\":\"is-style-large\"} -->\n<blockquote class=\"wp-block-quote is-style-large\"><p>" . __( '"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."' ) . '</p><cite>' . __( '— Don Quixote' ) . "</cite></blockquote>\n<!-- /wp:quote -->",
|
||||
'viewportWidth' => 800,
|
||||
'categories' => array( 'text' ),
|
||||
);
|
||||
Reference in New Issue
Block a user