Skip to content

Commit 76c0773

Browse files
committed
updated my-first-interactive-block
1 parent 82004db commit 76c0773

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+23272
-16678
lines changed

.prettierrc.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ const config = {
1010
printWidth: 1,
1111
},
1212
},
13+
// Configure SCSS files to use double quotes
14+
{
15+
files: [ '*.scss' ],
16+
options: {
17+
singleQuote: false,
18+
},
19+
},
1320
],
1421
};
1522
// Useful for editor integrations.

README.md

Lines changed: 32 additions & 30 deletions
Large diffs are not rendered by default.

_data/examples.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@
192192
"lastModified": "2025-01-07T18:25:53+01:00"
193193
},
194194
{
195-
"slug": "interactivity-api-block-833d15",
195+
"slug": "my-first-interactive-block",
196196
"description": "Demonstrates the usage of WordPress's Interactivity API to create blocks with enhanced interactive capabilities.",
197197
"name": "Interactivity API Block",
198198
"tags": [
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!-- wp:block-development-examples/interactivity-api-block-833d15 /-->
1+
<!-- wp:block-development-examples/my-first-interactive-block /-->

plugins/interactive-blocks-demos-99def1/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Interactive Blocks Demos
22

33
> [!IMPORTANT]
4-
> WordPress now provides the [Interactivity API](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/), the official a recommended way to add interactivity in the Frontend for WordPress sites. Check the [Interactive Block using Interactivity API example](https://github.com/WordPress/block-development-examples/tree/trunk/plugins/interactivity-api-block-833d15)
4+
> WordPress now provides the [Interactivity API](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/), the official a recommended way to add interactivity in the Frontend for WordPress sites. Check the [Interactive Block using Interactivity API example](https://github.com/WordPress/block-development-examples/tree/trunk/plugins/my-first-interactive-block)
55
>
66
> To better understand the benefits of using the Interactivity API versus other approaches you can check the docs [About the Interactivity API](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/iapi-about) and [Frequently Asked Questions](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/iapi-faq/)
77

plugins/interactivity-api-block-833d15/_playground/export.xml

Lines changed: 0 additions & 125 deletions
This file was deleted.

plugins/interactivity-api-block-833d15/build/index.asset.php

Lines changed: 0 additions & 1 deletion
This file was deleted.

plugins/interactivity-api-block-833d15/build/index.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

plugins/interactivity-api-block-833d15/build/index.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

plugins/interactivity-api-block-833d15/build/render.php

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)