File tree Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ const TableOfContentsSchema = ({ data }) => {
13
13
...( variation === 'default' ? [ 'ordered' ] : [ ] ) ,
14
14
...( variation === 'horizontalMenu' ? [ 'sticky' ] : [ ] ) ,
15
15
...( variation === 'accordionMenu' ? [ 'sticky' ] : [ ] ) ,
16
+ ...( variation === 'accordionMenu' ? [ 'bulleted_list' ] : [ ] ) ,
16
17
'levels' ,
17
18
] ,
18
19
} ,
@@ -45,6 +46,11 @@ const TableOfContentsSchema = ({ data }) => {
45
46
title : 'Ordered' ,
46
47
type : 'boolean' ,
47
48
} ,
49
+ bulleted_list : {
50
+ title : 'Use bullet list' ,
51
+ type : 'boolean' ,
52
+ description : 'Bullet point for child items' ,
53
+ } ,
48
54
} ,
49
55
required : [ ] ,
50
56
} ;
Original file line number Diff line number Diff line change @@ -19,15 +19,6 @@ const ToCVariations = [
19
19
id : 'accordionMenu' ,
20
20
title : 'Accordion Menu' ,
21
21
view : AccordionMenu ,
22
- schemaEnhancer : ( { schema } ) => {
23
- schema . fieldsets [ 0 ] . fields . push ( 'bulleted_list' ) ;
24
- schema . properties . bulleted_list = {
25
- title : 'Use bullet list' ,
26
- type : 'boolean' ,
27
- description : 'Bullet point for child items' ,
28
- } ;
29
- return schema ;
30
- } ,
31
22
} ,
32
23
{
33
24
id : 'eea-side-menu' ,
Original file line number Diff line number Diff line change 8
8
}
9
9
10
10
.content.active {
11
- padding : 0 !important ;
11
+ padding : 0 !important ;
12
+ // padding-top: 1px !important;
12
13
margin : 0 !important ;
13
14
14
15
.accordion-list-bulleted {
You can’t perform that action at this time.
0 commit comments