mirror of
https://gh.wpcy.net/https://github.com/lubusIN/visual-blueprint-builder.git
synced 2026-05-01 17:03:01 +08:00
38 lines
No EOL
1 KiB
JSON
38 lines
No EOL
1 KiB
JSON
{
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
"apiVersion": 3,
|
|
"name": "playground-step/import-wordpress-files",
|
|
"version": "0.1.0",
|
|
"title": "Import WordPress files",
|
|
"category": "data",
|
|
"description": "Imports top-level WordPress files from a given zip file into the documentRoot. For example, if a zip file contains the wp-content and wp-includes directories, they will replace the corresponding directories in Playground's documentRoot.",
|
|
"example": {},
|
|
"supports": {
|
|
"html": false,
|
|
"multiple": false,
|
|
"customClassName": false
|
|
},
|
|
"attributes": {
|
|
"step": {
|
|
"type": "string",
|
|
"default": "importWordPressFiles"
|
|
},
|
|
"wordPressFilesZip": {
|
|
"type": "object",
|
|
"default": {
|
|
"resource": "url",
|
|
"url": ""
|
|
},
|
|
"properties": {
|
|
"resource": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"textdomain": "wp-playground-blueprint-editor",
|
|
"editorScript": "file:./index.js"
|
|
} |