attributes.js
29 lines
| 1 | /** |
| 2 | * Block Attributes |
| 3 | */ |
| 4 | |
| 5 | const blockAttributes = { |
| 6 | columns: { |
| 7 | type: 'string', |
| 8 | default:'4', |
| 9 | }, |
| 10 | showExcerpt: { |
| 11 | type: 'boolean', |
| 12 | default: false, |
| 13 | }, |
| 14 | showGoal: { |
| 15 | type: 'boolean', |
| 16 | default: false, |
| 17 | }, |
| 18 | showFeaturedImage: { |
| 19 | type: 'boolean', |
| 20 | default: false, |
| 21 | }, |
| 22 | displayType: { |
| 23 | type: 'string', |
| 24 | default: 'redirect', |
| 25 | } |
| 26 | }; |
| 27 | |
| 28 | export default blockAttributes; |
| 29 |