PluginProbe ʕ •ᴥ•ʔ
GenerateBlocks / 1.0
GenerateBlocks v1.0
trunk 1.0 1.0.1 1.0.2 1.1.0 1.1.1 1.1.2 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.7.0 1.7.1 1.7.2 1.7.3 1.8.0 1.8.1 1.8.2 1.8.3 1.9.0 1.9.1 2.0.0 2.0.1 2.0.2 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.3.0
generateblocks / src / blocks / button-container / attributes.js
generateblocks / src / blocks / button-container Last commit date
css 6 years ago attributes.js 6 years ago block.js 6 years ago edit.js 6 years ago editor.scss 6 years ago save.js 6 years ago
attributes.js
105 lines
1 /* eslint-disable no-undef */
2 export default {
3 uniqueId: {
4 type: 'string',
5 default: '',
6 },
7 elementId: {
8 type: 'string',
9 default: '',
10 },
11 cssClasses: {
12 type: 'string',
13 default: '',
14 },
15 alignment: {
16 type: 'string',
17 default: generateBlocksDefaults.buttonContainer.alignment,
18 },
19 alignmentTablet: {
20 type: 'string',
21 default: generateBlocksDefaults.buttonContainer.alignment,
22 },
23 alignmentMobile: {
24 type: 'string',
25 default: generateBlocksDefaults.buttonContainer.alignment,
26 },
27 marginTop: {
28 type: 'string',
29 default: generateBlocksDefaults.buttonContainer.marginTop,
30 },
31 marginRight: {
32 type: 'string',
33 default: generateBlocksDefaults.buttonContainer.marginRight,
34 },
35 marginBottom: {
36 type: 'string',
37 default: generateBlocksDefaults.buttonContainer.marginBottom,
38 },
39 marginLeft: {
40 type: 'string',
41 default: generateBlocksDefaults.buttonContainer.marginLeft,
42 },
43 marginUnit: {
44 type: 'string',
45 default: generateBlocksDefaults.buttonContainer.marginUnit,
46 },
47 marginTopTablet: {
48 type: 'string',
49 default: generateBlocksDefaults.buttonContainer.marginTopTablet,
50 },
51 marginRightTablet: {
52 type: 'string',
53 default: generateBlocksDefaults.buttonContainer.marginRightTablet,
54 },
55 marginBottomTablet: {
56 type: 'string',
57 default: generateBlocksDefaults.buttonContainer.marginBottomTablet,
58 },
59 marginLeftTablet: {
60 type: 'string',
61 default: generateBlocksDefaults.buttonContainer.marginLeftTablet,
62 },
63 marginTopMobile: {
64 type: 'string',
65 default: generateBlocksDefaults.buttonContainer.marginTopMobile,
66 },
67 marginRightMobile: {
68 type: 'string',
69 default: generateBlocksDefaults.buttonContainer.marginRightMobile,
70 },
71 marginBottomMobile: {
72 type: 'string',
73 default: generateBlocksDefaults.buttonContainer.marginBottomMobile,
74 },
75 marginLeftMobile: {
76 type: 'string',
77 default: generateBlocksDefaults.buttonContainer.marginLeftMobile,
78 },
79 stack: {
80 type: 'boolean',
81 default: generateBlocksDefaults.buttonContainer.stack,
82 },
83 stackTablet: {
84 type: 'boolean',
85 default: generateBlocksDefaults.buttonContainer.stackTablet,
86 },
87 stackMobile: {
88 type: 'boolean',
89 default: generateBlocksDefaults.buttonContainer.stackMobile,
90 },
91 fillHorizontalSpace: {
92 type: 'boolean',
93 default: generateBlocksDefaults.buttonContainer.fillHorizontalSpace,
94 },
95 fillHorizontalSpaceTablet: {
96 type: 'boolean',
97 default: generateBlocksDefaults.buttonContainer.fillHorizontalSpaceTablet,
98 },
99 fillHorizontalSpaceMobile: {
100 type: 'boolean',
101 default: generateBlocksDefaults.buttonContainer.fillHorizontalSpaceMobile,
102 },
103 };
104 /* eslint-enable no-undef */
105