&$config ) { $config['css_suffix'] = $config['css_prefix'] = ''; } $components['typography']['disabled_controls'] = [ 'p_spacing', 'h1_spacing', 'h2_spacing', 'h3_spacing', ]; $components['typography']['config']['TextAlign'] = array_merge( $components['typography']['config']['TextAlign'], [ 'property' => 'justify-content', 'property_val' => [ 'left' => 'flex-start', 'center' => 'center', 'right' => 'flex-end', 'justify' => 'space-evenly', ], ] ); return array( 'toc_heading' => $components['typography'], 'layout' => array_merge( $components['layout'], array( 'disabled_controls' => [ 'Width', 'Height', 'hr', 'Alignment', 'Display', '.tve-advanced-controls' ], 'config' => [ 'MarginAndPadding' => [ 'important' => true, ], ], ) ), 'background' => $components['background'], 'borders' => $components['borders'], 'shadow' => array_merge( $components['shadow'], array( 'config' => [ 'disabled_controls' => [ 'inner' ], ], ) ), ); } }