equal
deleted
inserted
replaced
1 { |
1 { |
|
2 "$schema": "https://schemas.wp.org/trunk/block.json", |
2 "apiVersion": 2, |
3 "apiVersion": 2, |
3 "name": "core/pullquote", |
4 "name": "core/pullquote", |
4 "title": "Pullquote", |
5 "title": "Pullquote", |
5 "category": "text", |
6 "category": "text", |
6 "description": "Give special visual emphasis to a quote from your text.", |
7 "description": "Give special visual emphasis to a quote from your text.", |
18 "source": "html", |
19 "source": "html", |
19 "selector": "cite", |
20 "selector": "cite", |
20 "default": "", |
21 "default": "", |
21 "__experimentalRole": "content" |
22 "__experimentalRole": "content" |
22 }, |
23 }, |
23 "mainColor": { |
24 "textAlign": { |
24 "type": "string" |
|
25 }, |
|
26 "customMainColor": { |
|
27 "type": "string" |
|
28 }, |
|
29 "textColor": { |
|
30 "type": "string" |
|
31 }, |
|
32 "customTextColor": { |
|
33 "type": "string" |
25 "type": "string" |
34 } |
26 } |
35 }, |
27 }, |
36 "supports": { |
28 "supports": { |
37 "anchor": true, |
29 "anchor": true, |
38 "align": [ "left", "right", "wide", "full" ] |
30 "align": [ "left", "right", "wide", "full" ], |
|
31 "color": { |
|
32 "gradients": true, |
|
33 "background": true, |
|
34 "link": true, |
|
35 "__experimentalDefaultControls": { |
|
36 "background": true, |
|
37 "text": true |
|
38 } |
|
39 }, |
|
40 "typography": { |
|
41 "fontSize": true, |
|
42 "lineHeight": true, |
|
43 "__experimentalFontStyle": true, |
|
44 "__experimentalFontWeight": true, |
|
45 "__experimentalLetterSpacing": true, |
|
46 "__experimentalTextTransform": true, |
|
47 "__experimentalDefaultControls": { |
|
48 "fontSize": true, |
|
49 "fontAppearance": true |
|
50 } |
|
51 }, |
|
52 "__experimentalBorder": { |
|
53 "color": true, |
|
54 "radius": true, |
|
55 "style": true, |
|
56 "width": true, |
|
57 "__experimentalDefaultControls": { |
|
58 "color": true, |
|
59 "radius": true, |
|
60 "style": true, |
|
61 "width": true |
|
62 } |
|
63 } |
39 }, |
64 }, |
40 "styles": [ |
|
41 { |
|
42 "name": "default", |
|
43 "label": "Default", |
|
44 "isDefault": true |
|
45 }, |
|
46 { "name": "solid-color", "label": "Solid color" } |
|
47 ], |
|
48 "editorStyle": "wp-block-pullquote-editor", |
65 "editorStyle": "wp-block-pullquote-editor", |
49 "style": "wp-block-pullquote" |
66 "style": "wp-block-pullquote" |
50 } |
67 } |