| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "m-chart/chart", |
| 5 |
"title": "M Chart", |
| 6 |
"category": "layout", |
| 7 |
"description": "Embed a chart made with M Chart into your posts and pages", |
| 8 |
"textdomain": "m-chart", |
| 9 |
"attributes": { |
| 10 |
"chartId": { |
| 11 |
"type": "integer", |
| 12 |
"default": 0 |
| 13 |
}, |
| 14 |
"show": { |
| 15 |
"type": "string", |
| 16 |
"default": "chart" |
| 17 |
} |
| 18 |
}, |
| 19 |
"supports": { |
| 20 |
"html": false |
| 21 |
}, |
| 22 |
"editorScript": "m-chart-editor", |
| 23 |
"editorStyle": "m-chart-editor-style", |
| 24 |
"render": "file:./render.php" |
| 25 |
} |