Block Editor: Update the bundled block patterns.
This updates the block patterns included by default on WordPress to give them more personality and to make use of the design tools that has been added to the editor. Props onemaggie, melchoyce, kjellr, beafialho, gziolo. Fixes #52846. Built from https://develop.svn.wordpress.org/trunk@50794 git-svn-id: http://core.svn.wordpress.org/trunk@50403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -19,16 +19,21 @@ function _register_core_block_patterns_and_categories() {
|
||||
|
||||
if ( $should_register_core_patterns ) {
|
||||
$core_block_patterns = array(
|
||||
'text-two-columns',
|
||||
'two-buttons',
|
||||
'two-images',
|
||||
'text-two-columns-with-images',
|
||||
'text-three-columns-buttons',
|
||||
'large-header',
|
||||
'large-header-button',
|
||||
'three-buttons',
|
||||
'heading-paragraph',
|
||||
'media-text-nature',
|
||||
'two-images-gallery',
|
||||
'three-columns-media-text',
|
||||
'quote',
|
||||
'large-header-left',
|
||||
'large-header-text-button',
|
||||
'media-text-art',
|
||||
'text-two-columns-title',
|
||||
'three-columns-text',
|
||||
'text-two-columns-title-offset',
|
||||
'heading',
|
||||
'three-images-gallery',
|
||||
'text-two-columns',
|
||||
'media-text-arquitecture',
|
||||
'two-buttons',
|
||||
);
|
||||
|
||||
foreach ( $core_block_patterns as $core_block_pattern ) {
|
||||
|
||||
Reference in New Issue
Block a user