equal
deleted
inserted
replaced
1 { |
1 { |
2 "$schema": "https://schemas.wp.org/trunk/block.json", |
2 "$schema": "https://schemas.wp.org/trunk/block.json", |
3 "apiVersion": 2, |
3 "apiVersion": 3, |
4 "name": "core/column", |
4 "name": "core/column", |
5 "title": "Column", |
5 "title": "Column", |
6 "category": "text", |
6 "category": "design", |
7 "parent": [ "core/columns" ], |
7 "parent": [ "core/columns" ], |
8 "description": "A single column within a columns block.", |
8 "description": "A single column within a columns block.", |
9 "textdomain": "default", |
9 "textdomain": "default", |
10 "attributes": { |
10 "attributes": { |
11 "verticalAlignment": { |
11 "verticalAlignment": { |
17 "allowedBlocks": { |
17 "allowedBlocks": { |
18 "type": "array" |
18 "type": "array" |
19 }, |
19 }, |
20 "templateLock": { |
20 "templateLock": { |
21 "type": [ "string", "boolean" ], |
21 "type": [ "string", "boolean" ], |
22 "enum": [ "all", "insert", false ] |
22 "enum": [ "all", "insert", "contentOnly", false ] |
23 } |
23 } |
24 }, |
24 }, |
25 "supports": { |
25 "supports": { |
|
26 "__experimentalOnEnter": true, |
26 "anchor": true, |
27 "anchor": true, |
27 "reusable": false, |
28 "reusable": false, |
28 "html": false, |
29 "html": false, |
29 "color": { |
30 "color": { |
30 "gradients": true, |
31 "gradients": true, |
|
32 "heading": true, |
|
33 "button": true, |
31 "link": true, |
34 "link": true, |
32 "__experimentalDefaultControls": { |
35 "__experimentalDefaultControls": { |
33 "background": true, |
36 "background": true, |
34 "text": true |
37 "text": true |
35 } |
38 } |
36 }, |
39 }, |
|
40 "shadow": true, |
37 "spacing": { |
41 "spacing": { |
38 "blockGap": true, |
42 "blockGap": true, |
39 "padding": true, |
43 "padding": true, |
40 "__experimentalDefaultControls": { |
44 "__experimentalDefaultControls": { |
41 "padding": true |
45 "padding": true, |
|
46 "blockGap": true |
42 } |
47 } |
43 }, |
48 }, |
44 "__experimentalLayout": true |
49 "__experimentalBorder": { |
|
50 "color": true, |
|
51 "style": true, |
|
52 "width": true, |
|
53 "__experimentalDefaultControls": { |
|
54 "color": true, |
|
55 "style": true, |
|
56 "width": true |
|
57 } |
|
58 }, |
|
59 "typography": { |
|
60 "fontSize": true, |
|
61 "lineHeight": true, |
|
62 "__experimentalFontFamily": true, |
|
63 "__experimentalFontWeight": true, |
|
64 "__experimentalFontStyle": true, |
|
65 "__experimentalTextTransform": true, |
|
66 "__experimentalTextDecoration": true, |
|
67 "__experimentalLetterSpacing": true, |
|
68 "__experimentalDefaultControls": { |
|
69 "fontSize": true |
|
70 } |
|
71 }, |
|
72 "layout": true, |
|
73 "interactivity": { |
|
74 "clientNavigation": true |
|
75 } |
45 } |
76 } |
46 } |
77 } |