We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea7b1d1 commit 67488d6Copy full SHA for 67488d6
src/infotip/inline-ui.js
@@ -156,10 +156,11 @@ function OverlayTabContent( {
156
label: __( 'Background', 'blablablocks-formats' ),
157
value:
158
activeAttributes[ 'overlay-background-color' ] ||
159
- '#222',
+ '#222222',
160
onChange: ( newValue ) => {
161
updateAttributes( {
162
- 'overlay-background-color': newValue,
+ 'overlay-background-color':
163
+ newValue || '#222222',
164
} );
165
},
166
@@ -170,7 +171,7 @@ function OverlayTabContent( {
170
171
'#FFFFFF',
172
173
- 'overlay-text-color': newValue,
174
+ 'overlay-text-color': newValue || '#FFFFFF',
175
176
177
0 commit comments