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/post-date", |
4 "name": "core/post-date", |
5 "title": "Post Date", |
5 "title": "Date", |
6 "category": "theme", |
6 "category": "theme", |
7 "description": "Add the date of this post.", |
7 "description": "Display the publish date for an entry such as a post or page.", |
8 "textdomain": "default", |
8 "textdomain": "default", |
9 "attributes": { |
9 "attributes": { |
10 "textAlign": { |
10 "textAlign": { |
11 "type": "string" |
11 "type": "string" |
12 }, |
12 }, |
14 "type": "string" |
14 "type": "string" |
15 }, |
15 }, |
16 "isLink": { |
16 "isLink": { |
17 "type": "boolean", |
17 "type": "boolean", |
18 "default": false |
18 "default": false |
|
19 }, |
|
20 "displayType": { |
|
21 "type": "string", |
|
22 "default": "date" |
19 } |
23 } |
20 }, |
24 }, |
21 "usesContext": [ "postId", "postType", "queryId" ], |
25 "usesContext": [ "postId", "postType", "queryId" ], |
22 "supports": { |
26 "supports": { |
23 "html": false, |
27 "html": false, |
28 "background": true, |
32 "background": true, |
29 "text": true, |
33 "text": true, |
30 "link": true |
34 "link": true |
31 } |
35 } |
32 }, |
36 }, |
|
37 "spacing": { |
|
38 "margin": true, |
|
39 "padding": true |
|
40 }, |
33 "typography": { |
41 "typography": { |
34 "fontSize": true, |
42 "fontSize": true, |
35 "lineHeight": true, |
43 "lineHeight": true, |
36 "__experimentalFontFamily": true, |
44 "__experimentalFontFamily": true, |
37 "__experimentalFontWeight": true, |
45 "__experimentalFontWeight": true, |
38 "__experimentalFontStyle": true, |
46 "__experimentalFontStyle": true, |
39 "__experimentalTextTransform": true, |
47 "__experimentalTextTransform": true, |
|
48 "__experimentalTextDecoration": true, |
40 "__experimentalLetterSpacing": true, |
49 "__experimentalLetterSpacing": true, |
41 "__experimentalDefaultControls": { |
50 "__experimentalDefaultControls": { |
42 "fontSize": true |
51 "fontSize": true |
43 } |
52 } |
|
53 }, |
|
54 "interactivity": { |
|
55 "clientNavigation": true |
44 } |
56 } |
45 } |
57 } |
46 } |
58 } |