Skip to content

Commit

Permalink
Update blueprint.json files for block toolbar and settings sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmaguitar committed Dec 18, 2023
1 parent 929be23 commit c743117
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions plugins/block-toolbar-ab967f/_playground/blueprint.json
Expand Up @@ -15,9 +15,7 @@
},
{
"step": "runPHP",
"code": "<?php require '/wordpress/wp-load.php'; wp_insert_post( array('post_title' => 'Demo Block Toolbar','post_content' => '<!-- wp:paragraph --><p>Select the block to see the custom Block Toolbar</p><!-- /wp:paragraph --><!-- wp:block-development-examples/block-toolbar-ab967f -->
<p class=\"wp-block-block-development-examples-block-toolbar-ab967f block-toolbar-ab967f-align-none\">Select Me!</p>
<!-- /wp:block-development-examples/block-toolbar-ab967f -->', 'post_status' => 'publish', 'post_author' => 1 ) );"
"code": "<?php require '/wordpress/wp-load.php'; wp_insert_post( array('post_title' => 'Demo Block Toolbar','post_content' => '<!-- wp:paragraph --><p>Select the block to see the custom Block Toolbar</p><!-- /wp:paragraph --><!-- wp:block-development-examples/block-toolbar-ab967f --><p class=\"wp-block-block-development-examples-block-toolbar-ab967f block-toolbar-ab967f-align-none\">Select Me!</p><!-- /wp:block-development-examples/block-toolbar-ab967f -->', 'post_status' => 'publish', 'post_author' => 1 ) );"
}
]
}
4 changes: 1 addition & 3 deletions plugins/settings-sidebar-82c525/_playground/blueprint.json
Expand Up @@ -15,9 +15,7 @@
},
{
"step": "runPHP",
"code": "<?php require '/wordpress/wp-load.php'; wp_insert_post( array('post_title' => 'Demo Settings Sidebar','post_content' => '<!-- wp:paragraph --><p>Select the block to see the custom Settings Sidebar</p><!-- /wp:paragraph --><!-- wp:block-development-examples/settings-sidebar-82c525 -->
<div class=\"wp-block-block-development-examples-settings-sidebar-82c525\" style=\"background-color:#000000;color:#ffffff\">Select Me!</div>
<!-- /wp:block-development-examples/settings-sidebar-82c525 -->', 'post_status' => 'publish', 'post_author' => 1 ) );"
"code": "<?php require '/wordpress/wp-load.php'; wp_insert_post( array('post_title' => 'Demo Settings Sidebar','post_content' => '<!-- wp:paragraph --><p>Select the block to see the custom Settings Sidebar</p><!-- /wp:paragraph --><!-- wp:block-development-examples/settings-sidebar-82c525 --><div class=\"wp-block-block-development-examples-settings-sidebar-82c525\" style=\"background-color:#000000;color:#ffffff\">Select Me!</div><!-- /wp:block-development-examples/settings-sidebar-82c525 -->', 'post_status' => 'publish', 'post_author' => 1 ) );"
}
]
}

0 comments on commit c743117

Please sign in to comment.