components
1 year ago
css
2 years ago
attributes.js
3 years ago
block.js
1 year ago
deprecated.js
3 years ago
edit.js
3 years ago
editor.scss
4 years ago
attributes.js
44 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 | isPagination: { |
| 12 | type: 'boolean', |
| 13 | default: false, |
| 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 | isDynamic: { |
| 28 | type: 'boolean', |
| 29 | }, |
| 30 | blockVersion: { |
| 31 | type: 'number', |
| 32 | }, |
| 33 | // deprecated since 1.2.0. |
| 34 | elementId: { |
| 35 | type: 'string', |
| 36 | default: '', |
| 37 | }, |
| 38 | cssClasses: { |
| 39 | type: 'string', |
| 40 | default: '', |
| 41 | }, |
| 42 | }; |
| 43 | /* eslint-enable no-undef */ |
| 44 |