build/scripts/block-library/post-comment
block.json
699 B
10 months ago
block.json in Gutenberg 23.2.0, at build/scripts/block-library/post-comment/block.json
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "apiVersion": 3, |
| 4 | "__experimental": "fse", |
| 5 | "name": "core/post-comment", |
| 6 | "title": "Comment (deprecated)", |
| 7 | "category": "theme", |
| 8 | "allowedBlocks": [ |
| 9 | "core/avatar", |
| 10 | "core/comment-author-name", |
| 11 | "core/comment-content", |
| 12 | "core/comment-date", |
| 13 | "core/comment-edit-link", |
| 14 | "core/comment-reply-link" |
| 15 | ], |
| 16 | "description": "This block is deprecated. Please use the Comments block instead.", |
| 17 | "textdomain": "default", |
| 18 | "attributes": { |
| 19 | "commentId": { |
| 20 | "type": "number" |
| 21 | } |
| 22 | }, |
| 23 | "providesContext": { |
| 24 | "commentId": "commentId" |
| 25 | }, |
| 26 | "supports": { |
| 27 | "html": false, |
| 28 | "inserter": false, |
| 29 | "interactivity": { |
| 30 | "clientNavigation": true |
| 31 | } |
| 32 | } |
| 33 | } |
| 34 |