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
2 years ago
editor.scss
1 year ago
element-icons.js
2 years ago
markformat.js
4 years ago
save.js
4 years ago
transforms.js
1 year ago
attributes.js
38 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 | content: { |
| 12 | type: 'string', |
| 13 | source: 'html', |
| 14 | selector: '.gb-headline-text', |
| 15 | }, |
| 16 | element: { |
| 17 | type: 'string', |
| 18 | default: 'h2', |
| 19 | }, |
| 20 | ariaLabel: { |
| 21 | type: 'string', |
| 22 | default: generateBlocksDefaults.headline.ariaLabel, |
| 23 | }, |
| 24 | blockVersion: { |
| 25 | type: 'number', |
| 26 | }, |
| 27 | // deprecated since 1.2.0. |
| 28 | elementId: { |
| 29 | type: 'string', |
| 30 | default: '', |
| 31 | }, |
| 32 | cssClasses: { |
| 33 | type: 'string', |
| 34 | default: '', |
| 35 | }, |
| 36 | }; |
| 37 | /* eslint-enable no-undef */ |
| 38 |