reify shadows if no input block present
This commit is contained in:
parent
6ad85110eb
commit
e9f3f8c5c7
1 changed files with 8 additions and 1 deletions
|
|
@ -149,7 +149,14 @@ const
|
|||
}
|
||||
|
||||
} else if(shadow) {
|
||||
return shadowToInput(shadow)
|
||||
const shadowJson = shadowToInput(shadow)
|
||||
|
||||
return {
|
||||
// also copy the shadow into a real block
|
||||
// TODO: nested shadow blocks
|
||||
block: shadowJson.shadow,
|
||||
...shadowJson
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue