skip to Main Content

Does WordPress Block.json return correct paths?

I've created a custom block plugin with @wordpress/create-block (https://developer.wordpress.org/block-editor/reference-guides/packages/packages-create-block/) It works as a plugin, but when i move it into the theme, the "editorScript" in the block.json file, returns the wrong path. themeDirectory/blocks/mycustomblock/block.json { "name": "create-block/mycustomblock", "title": "Mycustomblock", "description": "Example…

VIEW QUESTION
Back To Top
Search