Changeset 54257 for trunk/src/wp-includes/blocks/post-comments/block.json
- Timestamp:
- 09/20/2022 03:14:54 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/post-comments/block.json
r53278 r54257 2 2 "$schema": "https://schemas.wp.org/trunk/block.json", 3 3 "apiVersion": 2, 4 "name": "core/ post-comments",5 "title": " Post Comments (deprecated)",4 "name": "core/comments", 5 "title": "Comments", 6 6 "category": "theme", 7 "description": " This block is deprecated. Please use the Comments Query Loop block instead.",7 "description": "An advanced block that allows displaying post comments using different visual configurations.", 8 8 "textdomain": "default", 9 9 "attributes": { 10 "textAlign": { 11 "type": "string" 10 "tagName": { 11 "type": "string", 12 "default": "div" 13 }, 14 "legacy": { 15 "type": "boolean", 16 "default": false 12 17 } 13 18 }, 14 "usesContext": [ "postId", "postType" ],15 19 "supports": { 20 "align": [ "wide", "full" ], 16 21 "html": false, 17 "align": [ "wide", "full" ],18 "typography": {19 "fontSize": true,20 "lineHeight": true,21 "__experimentalFontStyle": true,22 "__experimentalFontWeight": true,23 "__experimentalLetterSpacing": true,24 "__experimentalTextTransform": true,25 "__experimentalDefaultControls": {26 "fontSize": true27 }28 },29 22 "color": { 30 23 "gradients": true, … … 32 25 "__experimentalDefaultControls": { 33 26 "background": true, 34 "text": true 27 "text": true, 28 "link": true 35 29 } 36 30 }, 37 "inserter": false 31 "typography": { 32 "fontSize": true, 33 "lineHeight": true, 34 "__experimentalFontFamily": true, 35 "__experimentalFontWeight": true, 36 "__experimentalFontStyle": true, 37 "__experimentalTextTransform": true, 38 "__experimentalTextDecoration": true, 39 "__experimentalLetterSpacing": true, 40 "__experimentalDefaultControls": { 41 "fontSize": true 42 } 43 } 38 44 }, 39 "style": [ 40 "wp-block-post-comments", 41 "wp-block-buttons", 42 "wp-block-button" 43 ], 44 "editorStyle": "wp-block-post-comments-editor" 45 "editorStyle": "wp-block-comments-editor", 46 "usesContext": [ "postId", "postType" ] 45 47 }
Note: See TracChangeset
for help on using the changeset viewer.