-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblock.json
52 lines (52 loc) · 1.06 KB
/
block.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"apiVersion": 2,
"$schema": "https://raw.githubusercontent.com/WordPress/gutenberg/trunk/schemas/json/block.json",
"name": "mrw/accordion",
"title": "Accordion",
"version": "0.3.0",
"description": "Simple, accessible accordion block.",
"keywords": ["faq", "expand", "collapse"],
"category": "design",
"icon": "arrow-down-alt2",
"supports": {
"html": false,
"align": ["wide", "full"],
"anchor": true
},
"attributes": {
"accordionId": {
"type": "string"
},
"accordionIcon": {
"type": "string"
},
"primaryColor": {
"type": "string"
},
"headingTextColor": {
"type": "string"
},
"anchor": {
"type": "string"
},
"level": {
"type": "integer",
"default": 2
},
"headingText": {
"type": "string"
},
"headingFontSize": {
"type": "string"
},
"editorExpanded": {
"type": "boolean",
"default": true
}
},
"textdomain": "mrw-accordion",
"editorScript": "file:./build/index.js",
"editorStyle": "file:./build/index.css",
"style": "file:./build/style-index.css",
"script": "file:./build/accordion-script.js"
}