| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"version": "22.7", |
| 5 |
"name": "yoast/how-to-block", |
| 6 |
"title": "Yoast How-to", |
| 7 |
"description": "Create a How-to guide in an SEO-friendly way. You can only use one How-to block per post.", |
| 8 |
"category": "yoast-structured-data-blocks", |
| 9 |
"icon": "editor-ol", |
| 10 |
"keywords": [ |
| 11 |
"How-to", |
| 12 |
"How to", |
| 13 |
"Schema", |
| 14 |
"SEO", |
| 15 |
"Structured Data" |
| 16 |
], |
| 17 |
"supports": { |
| 18 |
"multiple": false |
| 19 |
}, |
| 20 |
"textdomain": "wordpress-seo", |
| 21 |
"attributes": { |
| 22 |
"hasDuration": { |
| 23 |
"type": "boolean" |
| 24 |
}, |
| 25 |
"days": { |
| 26 |
"type": "string" |
| 27 |
}, |
| 28 |
"hours": { |
| 29 |
"type": "string" |
| 30 |
}, |
| 31 |
"minutes": { |
| 32 |
"type": "string" |
| 33 |
}, |
| 34 |
"description": { |
| 35 |
"type": "string", |
| 36 |
"source": "html", |
| 37 |
"selector": ".schema-how-to-description" |
| 38 |
}, |
| 39 |
"jsonDescription": { |
| 40 |
"type": "string" |
| 41 |
}, |
| 42 |
"steps": { |
| 43 |
"type": "array" |
| 44 |
}, |
| 45 |
"additionalListCssClasses": { |
| 46 |
"type": "string" |
| 47 |
}, |
| 48 |
"unorderedList": { |
| 49 |
"type": "boolean" |
| 50 |
}, |
| 51 |
"durationText": { |
| 52 |
"type": "string" |
| 53 |
}, |
| 54 |
"defaultDurationText": { |
| 55 |
"type": "string" |
| 56 |
} |
| 57 |
}, |
| 58 |
"example": { |
| 59 |
"attributes": { |
| 60 |
"steps": [ |
| 61 |
{ |
| 62 |
"id": "how-to-step-example-1", |
| 63 |
"name": "", |
| 64 |
"text": "", |
| 65 |
"images": [] |
| 66 |
}, |
| 67 |
{ |
| 68 |
"id": "how-to-step-example-2", |
| 69 |
"name": "", |
| 70 |
"text": "", |
| 71 |
"images": [] |
| 72 |
} |
| 73 |
] |
| 74 |
} |
| 75 |
}, |
| 76 |
"editorScript": "yoast-seo-how-to-block", |
| 77 |
"editorStyle": "yoast-seo-structured-data-blocks" |
| 78 |
} |
| 79 |
|