| @@ -7,8 +7,9 @@ | ||
| 7 | 7 | use ABlocks\Controls\Dimensions; |
| 8 | 8 | use ABlocks\Controls\Alignment; |
| 9 | 9 | use ABlocks\Helper; |
| 10 | 10 | use ABlocks\Controls\Range; |
| 11 | +use ABlocks\Controls\Link; | |
| 11 | 12 | use ABlocks\Controls\Icon; |
| 12 | 13 | |
| 13 | 14 | $attributes = [ |
| 14 | 15 | 'block_id' => [ |
| @@ -14,8 +15,12 @@ | ||
| 14 | 15 | 'block_id' => [ |
| 15 | 16 | 'type' => 'string', |
| 16 | 17 | 'default' => '', |
| 17 | 18 | ], |
| 19 | + 'blockVersion' => array( | |
| 20 | + 'type' => 'number', | |
| 21 | + 'default' => '', | |
| 22 | + ), | |
| 18 | 23 | 'svgDrawColor' => [ |
| 19 | 24 | 'type' => 'string', |
| 20 | 25 | 'default' => 'gray', |
| 21 | 26 | ], |
| @@ -27,8 +32,9 @@ | ||
| 27 | 32 | |
| 28 | 33 | $attributes = array_merge( |
| 29 | 34 | $attributes, |
| 30 | 35 | Icon::get_attribute( 'icon' ), |
| 36 | + Link::get_attribute( 'link' ), | |
| 31 | 37 | Alignment::get_attribute( 'alignment', true, [ 'value' => 'flex-start' ] ), |
| 32 | 38 | ); |
| 33 | 39 | return array_merge( $attributes, \ABlocks\Classes\BlockGlobal::get_attributes() ); |
| 34 | 40 | |