When creating custom Elements and using the text-align
control-type, the “exclude” functionality, does only work for “left” and “right”, not for “justify” or “center”
$this->controls['textAlign'] = [
'tab' => 'content',
'label' => esc_html__('Text align', 'bricks'),
'type' => 'text-align',
'css' => [
[
'property' => 'text-align',
'selector' => '.text-wrapper',
],
],
'exclude' => ['left', 'right', 'center', 'justify'],
];