Custom Block not showing
-
Hello everyone,
I’m trying to learn block development in wordpress, and I have installed locally with Local and I followed the guides here on WordPress. I created the plugin, and everything looks good on VS Code. Only problem is that when I go create a page, the option for the block is not showing up. How do I fix this?
Block.json File:
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "create-block/wp-learn-todo",
"version": "0.1.0",
"title": "Wp Learn Todo",
"category": "widgets",
"icon": "smiley",
"description": "Example block scaffolded with Create Block tool.",
"example": {},
"supports": {
"html": false
},
"textdomain": "wp-learn-todo",
"editorScript": "file:./index.js",
"editorStyle": "file:./index.css",
"style": "file:./style-index.css",
"viewScript": "file:./view.js"
}
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.