PluginProbe ʕ •ᴥ•ʔ
GenerateBlocks / 2.2.0
GenerateBlocks v2.2.0
trunk 1.0 1.0.1 1.0.2 1.1.0 1.1.1 1.1.2 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.7.0 1.7.1 1.7.2 1.7.3 1.8.0 1.8.1 1.8.2 1.8.3 1.9.0 1.9.1 2.0.0 2.0.1 2.0.2 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.3.0
generateblocks / src / blocks / headline / attributes.js
generateblocks / src / blocks / headline Last commit date
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