wordpress-develop/tests/phpunit/data/themedir1/block-theme/blocks/example-block/block.json
Greg Ziółkowski 9a7a11a74f Editor: Allow registration of blocks that include assets from within a theme
Fixes the issue when you register blocks with `block.json` in your theme. There is no longer an assets's URL error because it resolves correctly in relation to the theme where it is located.

Props fabiankaegy, ocean90, whoisnegrello, audrasjb, peterwilsoncc, 
Fixes #54647, #55513.



git-svn-id: https://develop.svn.wordpress.org/trunk@53091 602fd350-edb4-49c9-b593-d223f7449a82
2022-04-07 11:57:16 +00:00

9 lines
221 B
JSON

{
"apiVersion": 2,
"title": "Example Theme Block",
"name": "block-theme/example-block",
"description": "Custom block registered from within a theme",
"editorScript": "file:./index.js",
"style": "file:./style.css"
}