visual-blueprint-builder/build/steps/install-plugin/block.json
2025-07-29 18:37:15 +00:00

51 lines
No EOL
1.1 KiB
JSON

{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "playground-step/install-plugin",
"version": "0.1.0",
"title": "Install Plugin",
"category": "extend",
"description": "Installs a WordPress plugin in the Playground",
"example": {},
"supports": {
"html": false,
"customClassName": false
},
"attributes": {
"step": {
"type": "string",
"default": "installPlugin"
},
"pluginData": {
"type": "object",
"default": {
"resource": "url",
"url": ""
},
"properties": {
"resource": {
"type": "string",
"enum": [
"url",
"wordpress.org/plugins",
"vfs"
]
}
}
},
"options": {
"type": "object",
"default": {
"activate": true
},
"properties": {
"activate": {
"type": "boolean"
}
}
}
},
"textdomain": "wp-playground-blueprint-editor",
"editorScript": "file:./index.js",
"editorStyle": "file:./index.css"
}