File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -668,7 +668,7 @@ class Blocks {
668668 */
669669 changeBlock ( args ) {
670670 // Validate
671- if ( [ 'field' , 'mutation' , 'checkbox' ] . indexOf ( args . element ) === - 1 ) return ;
671+ if ( [ 'field' , 'mutation' , 'shadow' , ' checkbox'] . indexOf ( args . element ) === - 1 ) return ;
672672 let block = this . _blocks [ args . id ] ;
673673 if ( typeof block === 'undefined' ) return ;
674674 switch ( args . element ) {
@@ -721,6 +721,9 @@ class Blocks {
721721 case 'mutation' :
722722 block . mutation = mutationAdapter ( args . value ) ;
723723 break ;
724+ case 'shadow' :
725+ block . shadow = args . value ;
726+ break ;
724727 case 'checkbox' : {
725728 // A checkbox usually has a one to one correspondence with the monitor
726729 // block but in the case of monitored reporters that have arguments,
You can’t perform that action at this time.
0 commit comments