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-navigation-link", |
4 "name": "core/post-navigation-link", |
5 "title": "Post Navigation Link", |
5 "title": "Post Navigation Link", |
6 "category": "theme", |
6 "category": "theme", |
7 "description": "Displays the next or previous post link that is adjacent to the current post.", |
7 "description": "Displays the next or previous post link that is adjacent to the current post.", |
8 "textdomain": "default", |
8 "textdomain": "default", |
22 "default": false |
22 "default": false |
23 }, |
23 }, |
24 "linkLabel": { |
24 "linkLabel": { |
25 "type": "boolean", |
25 "type": "boolean", |
26 "default": false |
26 "default": false |
|
27 }, |
|
28 "arrow": { |
|
29 "type": "string", |
|
30 "default": "none" |
|
31 }, |
|
32 "taxonomy": { |
|
33 "type": "string", |
|
34 "default": "" |
27 } |
35 } |
28 }, |
36 }, |
|
37 "usesContext": [ "postType" ], |
29 "supports": { |
38 "supports": { |
30 "reusable": false, |
39 "reusable": false, |
31 "html": false, |
40 "html": false, |
|
41 "color": { |
|
42 "link": true |
|
43 }, |
32 "typography": { |
44 "typography": { |
33 "fontSize": true, |
45 "fontSize": true, |
34 "lineHeight": true, |
46 "lineHeight": true, |
|
47 "__experimentalFontFamily": true, |
|
48 "__experimentalFontWeight": true, |
35 "__experimentalFontStyle": true, |
49 "__experimentalFontStyle": true, |
36 "__experimentalFontWeight": true, |
50 "__experimentalTextTransform": true, |
|
51 "__experimentalTextDecoration": true, |
37 "__experimentalLetterSpacing": true, |
52 "__experimentalLetterSpacing": true, |
38 "__experimentalTextTransform": true, |
53 "__experimentalWritingMode": true, |
39 "__experimentalDefaultControls": { |
54 "__experimentalDefaultControls": { |
40 "fontSize": true |
55 "fontSize": true |
41 } |
56 } |
|
57 }, |
|
58 "interactivity": { |
|
59 "clientNavigation": true |
42 } |
60 } |
43 } |
61 }, |
|
62 "style": "wp-block-post-navigation-link" |
44 } |
63 } |