equal
deleted
inserted
replaced
1 { |
1 { |
|
2 "$schema": "https://schemas.wp.org/trunk/block.json", |
2 "apiVersion": 2, |
3 "apiVersion": 2, |
3 "name": "core/preformatted", |
4 "name": "core/preformatted", |
4 "title": "Preformatted", |
5 "title": "Preformatted", |
5 "category": "text", |
6 "category": "text", |
6 "description": "Add text that respects your spacing and tabs, and also allows styling.", |
7 "description": "Add text that respects your spacing and tabs, and also allows styling.", |
16 } |
17 } |
17 }, |
18 }, |
18 "supports": { |
19 "supports": { |
19 "anchor": true, |
20 "anchor": true, |
20 "color": { |
21 "color": { |
21 "gradients": true |
22 "gradients": true, |
|
23 "__experimentalDefaultControls": { |
|
24 "background": true, |
|
25 "text": true |
|
26 } |
22 }, |
27 }, |
23 "typography": { |
28 "typography": { |
24 "fontSize": true |
29 "fontSize": true, |
|
30 "lineHeight": true, |
|
31 "__experimentalFontStyle": true, |
|
32 "__experimentalFontWeight": true, |
|
33 "__experimentalLetterSpacing": true, |
|
34 "__experimentalTextTransform": true, |
|
35 "__experimentalDefaultControls": { |
|
36 "fontSize": true |
|
37 } |
25 } |
38 } |
26 }, |
39 }, |
27 "style": "wp-block-preformatted" |
40 "style": "wp-block-preformatted" |
28 } |
41 } |