We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a48421e commit 93b3a13Copy full SHA for 93b3a13
src/block/button-group/substitute.js
@@ -20,6 +20,7 @@ export const substitute = {
20
if ( 'stackable/button-group|button' in disabledBlocks && disabledBlocks[ 'stackable/button-group|button' ] === BLOCK_STATE.DISABLED ) { // eslint-disable-line camelcase
21
return [ 'core/buttons', {}, innerBlocks ]
22
}
23
+ return [ 'stackable/button-group', oldAttributes, innerBlocks ]
24
},
25
26
src/block/button/substitute.js
@@ -10,6 +10,7 @@ export const substitute = {
10
text: oldAttributes.text,
11
} ]
12
13
+ return [ 'stackable/button', oldAttributes ]
14
15
16
0 commit comments