@secretstache/wordpress-gutenberg 0.3.12 → 0.3.13
Sign up to get free protection for your applications and to get access to all the features.
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
- package/src/utils/attributes.js +0 -5
package/package.json
CHANGED
package/src/utils/attributes.js
CHANGED
@@ -144,11 +144,9 @@ export const getBaseBackgroundAttributes = ({
|
|
144
144
|
const backgroundMediaAttribute = {
|
145
145
|
isIncludeBackgroundMedia: {
|
146
146
|
type: 'boolean',
|
147
|
-
default: null,
|
148
147
|
},
|
149
148
|
backgroundMediaType: {
|
150
149
|
type: 'string',
|
151
|
-
default: null,
|
152
150
|
},
|
153
151
|
...getMediaAttribute(mediaAttributeName),
|
154
152
|
};
|
@@ -156,18 +154,15 @@ export const getBaseBackgroundAttributes = ({
|
|
156
154
|
const overlayAttribute = {
|
157
155
|
isIncludeOverlay: {
|
158
156
|
type: 'boolean',
|
159
|
-
default: null,
|
160
157
|
},
|
161
158
|
overlayColor: {
|
162
159
|
type: 'object',
|
163
|
-
default: null,
|
164
160
|
},
|
165
161
|
};
|
166
162
|
|
167
163
|
return {
|
168
164
|
backgroundColor: {
|
169
165
|
type: 'object',
|
170
|
-
default: null,
|
171
166
|
},
|
172
167
|
|
173
168
|
...(hasBackgroundMedia ? backgroundMediaAttribute : {}),
|