Skip to content

Commit 2428716

Browse files
committed
Update blueprint.json with preferred PHP and WP versions; update asset versions for my-first-interactive-block and optimize CSS and JS files for improved performance.
1 parent 85c45d0 commit 2428716

File tree

7 files changed

+10
-486
lines changed

7 files changed

+10
-486
lines changed

plugins/editor-bindings/_playground/blueprint.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
33
"landingPage": "/wp-admin/post.php?post=10&action=edit",
44
"login": true,
5+
"preferredVersions": {
6+
"php": "8.3",
7+
"wp": "6.9-RC2"
8+
},
59
"steps": [
610
{
711
"step": "installPlugin",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-i18n'), 'version' => '7e7ba0c454d3ca3b473e');
1+
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-i18n'), 'version' => '348de6832c8a0f1520aa');
Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1 @@
1-
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
2-
!*** css ../../node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!../../node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.4.38_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!../../node_modules/.pnpm/sass-loader@12.6.0_sass@1.77.1_webpack@5.97.1/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/editor.scss ***!
3-
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
4-
/**
5-
* The following styles get applied inside the editor only.
6-
*
7-
* Replace them with your own styles or remove the file completely.
8-
*/
9-
.wp-block-create-block-my-first-interactive-block input[type=text] {
10-
font-size: 1em;
11-
color: inherit;
12-
background: inherit;
13-
border: 0;
14-
}
15-
16-
/*# sourceMappingURL=index.css.map*/
1+
.wp-block-create-block-my-first-interactive-block input[type=text]{background:inherit;border:0;color:inherit;font-size:1em}

plugins/my-first-interactive-block/build/index.js

Lines changed: 1 addition & 345 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)