PluginProbe
Gutenberg / trunk
Gutenberg vtrunk
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
gutenberg / build / scripts / block-library / post-content / block.json

block.json in Gutenberg trunk, at build/scripts/block-library/post-content/block.json

88 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "core/post-content",
5 "title": "Content",
6 "category": "theme",
7 "description": "Displays the contents of a post or page.",
8 "textdomain": "default",
9 "usesContext": [ "postId", "postType", "queryId" ],
10 "attributes": {
11 "tagName": {
12 "type": "string",
13 "default": "div"
14 }
15 },
16 "example": {
17 "viewportWidth": 350
18 },
19 "supports": {
20 "anchor": true,
21 "align": [ "wide", "full" ],
22 "html": false,
23 "layout": true,
24 "background": {
25 "backgroundImage": true,
26 "backgroundSize": true,
27 "gradient": true,
28 "__experimentalDefaultControls": {
29 "backgroundImage": true
30 }
31 },
32 "dimensions": {
33 "minHeight": true
34 },
35 "shadow": true,
36 "spacing": {
37 "blockGap": true,
38 "padding": true,
39 "margin": true,
40 "__experimentalDefaultControls": {
41 "margin": false,
42 "padding": false
43 }
44 },
45 "color": {
46 "gradients": true,
47 "button": true,
48 "heading": true,
49 "link": true,
50 "__experimentalDefaultControls": {
51 "background": false,
52 "text": false
53 }
54 },
55 "typography": {
56 "fontSize": true,
57 "lineHeight": true,
58 "textAlign": true,
59 "__experimentalFontFamily": true,
60 "__experimentalFontWeight": true,
61 "__experimentalFontStyle": true,
62 "__experimentalTextTransform": true,
63 "__experimentalTextDecoration": true,
64 "__experimentalLetterSpacing": true,
65 "__experimentalDefaultControls": {
66 "fontSize": true
67 }
68 },
69 "interactivity": {
70 "clientNavigation": true
71 },
72 "__experimentalBorder": {
73 "radius": true,
74 "color": true,
75 "width": true,
76 "style": true,
77 "__experimentalDefaultControls": {
78 "radius": true,
79 "color": true,
80 "width": true,
81 "style": true
82 }
83 }
84 },
85 "style": "wp-block-post-content",
86 "editorStyle": "wp-block-post-content-editor"
87 }
88