Skip to content

Commit 03eb317

Browse files
committed
Merge branch 'bose/3867' into staging
2 parents eaba0ff + fdedc5b commit 03eb317

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

studio/schemas/objects/textBlock.tsx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,14 @@ export default {
119119
of: [
120120
configureBlockContent({ variant: 'textBlock' }),
121121
// This enables the image upload/paste block
122-
Flags.IS_DEV
123-
? defineArrayMember({
124-
type: 'image',
125-
options: { hotspot: true },
126-
})
127-
: false,
122+
...(Flags.IS_DEV
123+
? [
124+
{
125+
type: 'image',
126+
options: { hotspot: true },
127+
},
128+
]
129+
: []),
128130
],
129131
},
130132
{

0 commit comments

Comments
 (0)