PluginProbe ʕ •ᴥ•ʔ
GenerateBlocks / 1.4.0
GenerateBlocks v1.4.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 / grid / attributes.js
generateblocks / src / blocks / grid Last commit date
css 5 years ago attributes.js 4 years ago block.js 4 years ago deprecated.js 5 years ago edit.js 4 years ago editor.scss 5 years ago
attributes.js
80 lines
1 /* eslint-disable no-undef */
2 export default {
3 uniqueId: {
4 type: 'string',
5 default: '',
6 },
7 anchor: {
8 type: 'string',
9 default: '',
10 },
11 columns: {
12 type: 'number',
13 default: '',
14 },
15 horizontalGap: {
16 type: 'number',
17 default: generateBlocksDefaults.gridContainer.horizontalGap,
18 },
19 verticalGap: {
20 type: 'number',
21 default: generateBlocksDefaults.gridContainer.verticalGap,
22 },
23 verticalAlignment: {
24 type: 'string',
25 default: generateBlocksDefaults.gridContainer.verticalAlignment,
26 },
27 horizontalGapTablet: {
28 type: 'number',
29 default: generateBlocksDefaults.gridContainer.horizontalGapTablet,
30 },
31 verticalGapTablet: {
32 type: 'number',
33 default: generateBlocksDefaults.gridContainer.verticalGapTablet,
34 },
35 verticalAlignmentTablet: {
36 type: 'string',
37 default: generateBlocksDefaults.gridContainer.verticalAlignmentTablet,
38 },
39 horizontalGapMobile: {
40 type: 'number',
41 default: generateBlocksDefaults.gridContainer.horizontalGapMobile,
42 },
43 verticalGapMobile: {
44 type: 'number',
45 default: generateBlocksDefaults.gridContainer.verticalGapMobile,
46 },
47 verticalAlignmentMobile: {
48 type: 'string',
49 default: generateBlocksDefaults.gridContainer.verticalAlignmentMobile,
50 },
51 horizontalAlignment: {
52 type: 'string',
53 default: generateBlocksDefaults.gridContainer.horizontalAlignment,
54 },
55 horizontalAlignmentTablet: {
56 type: 'string',
57 default: generateBlocksDefaults.gridContainer.horizontalAlignmentTablet,
58 },
59 horizontalAlignmentMobile: {
60 type: 'string',
61 default: generateBlocksDefaults.gridContainer.horizontalAlignmentMobile,
62 },
63 isDynamic: {
64 type: 'boolean',
65 },
66 blockVersion: {
67 type: 'number',
68 },
69 // deprecated since 1.2.0
70 elementId: {
71 type: 'string',
72 default: '',
73 },
74 cssClasses: {
75 type: 'string',
76 default: '',
77 },
78 };
79 /* eslint-enable no-undef */
80