attributes.js
38 lines
| 1 | /** |
| 2 | * Block Attributes |
| 3 | */ |
| 4 | const blockAttributes = { |
| 5 | id: { |
| 6 | type: 'number', |
| 7 | }, |
| 8 | prevId: { |
| 9 | type: 'number', |
| 10 | }, |
| 11 | displayStyle: { |
| 12 | type: 'string', |
| 13 | default: 'onpage', |
| 14 | }, |
| 15 | continueButtonTitle: { |
| 16 | type: 'string', |
| 17 | default: '', |
| 18 | }, |
| 19 | showTitle: { |
| 20 | type: 'boolean', |
| 21 | default: true, |
| 22 | }, |
| 23 | showGoal: { |
| 24 | type: 'boolean', |
| 25 | default: true, |
| 26 | }, |
| 27 | contentDisplay: { |
| 28 | type: 'boolean', |
| 29 | default: true, |
| 30 | }, |
| 31 | showContent: { |
| 32 | type: 'string', |
| 33 | default: 'above', |
| 34 | }, |
| 35 | }; |
| 36 | |
| 37 | export default blockAttributes; |
| 38 |