@@ -794,6 +794,17 @@ class BlockClassHelperService {
}
// Validate class attribute.
if($attribute_key=='class'){
// Set a message informing that we can't use the class attribute.
$form_state->setErrorByName('multiple_attributes][third_party_settings][block_class][attribute_'.$index.'][attribute_key_'.$index,$this->t("You can't use class. Use the field class instead"));