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