-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6ea30a0
commit fb2d4d6
Showing
8 changed files
with
42 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
{ | ||
"$schema": "https://schemas.wp.org/trunk/block.json", | ||
"apiVersion": 3, | ||
"name": "example-blocks/hello-world", | ||
"version": "0.1.0", | ||
"title": "Hello World", | ||
"category": "widgets", | ||
"icon": "nametag", | ||
"description": "Prints Hello World!", | ||
"supports": { | ||
"html": false | ||
}, | ||
"textdomain": "example-blocks", | ||
"editorScript": "file:./build/index.js", | ||
"editorStyle": "file:./build/index.css", | ||
"style": "file:./build/style-index.css" | ||
"$schema": "https://schemas.wp.org/trunk/block.json", | ||
"apiVersion": 3, | ||
"name": "example-blocks/hello-world", | ||
"version": "0.1.0", | ||
"title": "Hello World", | ||
"category": "widgets", | ||
"icon": "nametag", | ||
"description": "Prints Hello World!", | ||
"supports": { | ||
"html": false | ||
}, | ||
"textdomain": "example-blocks", | ||
"editorScript": "file:./build/index.js", | ||
"editorStyle": "file:./build/index.css", | ||
"style": "file:./build/style-index.css" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,6 @@ | |
*/ | ||
|
||
.wp-block-example-blocks-hello-world { | ||
|
||
/* insert custom styles here */ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 15 additions & 15 deletions
30
src/plugins/example-blocks/blocks/reverse-string/block.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
{ | ||
"$schema": "https://schemas.wp.org/trunk/block.json", | ||
"apiVersion": 3, | ||
"name": "example-blocks/reverse-string", | ||
"version": "0.1.0", | ||
"title": "Reverse String", | ||
"category": "widgets", | ||
"icon": "smiley", | ||
"description": "Prints a user-entered string in reverse order.", | ||
"supports": { | ||
"html": false | ||
}, | ||
"textdomain": "example-blocks", | ||
"editorScript": "file:./build/index.js", | ||
"editorStyle": "file:./build/index.css", | ||
"style": "file:./build/style-index.css" | ||
"$schema": "https://schemas.wp.org/trunk/block.json", | ||
"apiVersion": 3, | ||
"name": "example-blocks/reverse-string", | ||
"version": "0.1.0", | ||
"title": "Reverse String", | ||
"category": "widgets", | ||
"icon": "smiley", | ||
"description": "Prints a user-entered string in reverse order.", | ||
"supports": { | ||
"html": false | ||
}, | ||
"textdomain": "example-blocks", | ||
"editorScript": "file:./build/index.js", | ||
"editorStyle": "file:./build/index.css", | ||
"style": "file:./build/style-index.css" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,5 +6,6 @@ | |
*/ | ||
|
||
.wp-block-example-blocks-reverse-string { | ||
|
||
/* insert custom styles here */ | ||
} |