| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "core/math", |
| 5 |
"title": "Math", |
| 6 |
"category": "text", |
| 7 |
"description": "Display mathematical notation using LaTeX.", |
| 8 |
"keywords": [ "equation", "formula", "latex", "mathematics" ], |
| 9 |
"textdomain": "default", |
| 10 |
"supports": { |
| 11 |
"anchor": true, |
| 12 |
"html": false, |
| 13 |
"__experimentalBorder": { |
| 14 |
"color": true, |
| 15 |
"radius": true, |
| 16 |
"style": true, |
| 17 |
"width": true |
| 18 |
}, |
| 19 |
"color": { |
| 20 |
"gradients": true, |
| 21 |
"__experimentalDefaultControls": { |
| 22 |
"background": true, |
| 23 |
"text": true |
| 24 |
} |
| 25 |
}, |
| 26 |
"spacing": { |
| 27 |
"margin": true, |
| 28 |
"padding": true, |
| 29 |
"__experimentalDefaultControls": { |
| 30 |
"margin": false, |
| 31 |
"padding": false |
| 32 |
} |
| 33 |
}, |
| 34 |
"typography": { |
| 35 |
"fontSize": true, |
| 36 |
"__experimentalDefaultControls": { |
| 37 |
"fontSize": true |
| 38 |
} |
| 39 |
} |
| 40 |
}, |
| 41 |
"attributes": { |
| 42 |
"latex": { |
| 43 |
"type": "string", |
| 44 |
"role": "content" |
| 45 |
}, |
| 46 |
"mathML": { |
| 47 |
"type": "string", |
| 48 |
"source": "html", |
| 49 |
"selector": "math" |
| 50 |
} |
| 51 |
} |
| 52 |
} |
| 53 |
|