PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.17.0
GiveWP – Donation Plugin and Fundraising Platform v4.17.0
4.17.0 4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 All 256 releases
← All changes | blocks/donation-form/data/attributes.js +35 -32 2.3.2 → 4.17.0 View file →
@@ -1,38 +1,41 @@
1 1 /**
2 2 * Block Attributes
3 -*/
4 -
3 + */
5 4 const blockAttributes = {
6 - id: {
7 - type: 'number',
8 - },
9 - prevId: {
10 - type: 'number',
11 - },
12 - displayStyle: {
13 - type: 'string',
14 - default: 'onpage',
15 - },
16 - continueButtonTitle: {
17 - type: 'string',
18 - default: '',
19 - },
20 - showTitle: {
21 - type: 'boolean',
22 - default: false,
23 - },
24 - showGoal: {
25 - type: 'boolean',
26 - default: false,
27 - },
28 - contentDisplay: {
29 - type: 'boolean',
30 - default: false,
31 - },
32 - showContent: {
33 - type: 'string',
34 - default: 'above',
35 - },
5 + id: {
6 + type: 'number',
7 + default: 0,
8 + },
9 + prevId: {
10 + type: 'number',
11 + },
12 + displayStyle: {
13 + type: 'string',
14 + default: 'onpage',
15 + },
16 + continueButtonTitle: {
17 + type: 'string',
18 + default: 'Donate now',
19 + },
20 + showTitle: {
21 + type: 'boolean',
22 + default: true,
23 + },
24 + showGoal: {
25 + type: 'boolean',
26 + default: true,
27 + },
28 + contentDisplay: {
29 + type: 'boolean',
30 + default: true,
31 + },
32 + showContent: {
33 + type: 'string',
34 + default: 'above',
35 + },
36 + blockId: {
37 + type: 'string',
38 + },
36 39 };
37 40
38 41 export default blockAttributes;