@@ -741,9 +741,19 @@ class BlockClassHelperService {
$form_state->setErrorByName('class][third_party_settings][block_class][classes',$this->t("In class is allowed only letters, numbers, hyphen and underline"));
returnFALSE;
}
$classes=explode(' ',$classes);
foreach($classesas$class){
// Validate if the first char is a point and say that isn't necessary.
if(strpos($class,'.')===0){
$form_state->setErrorByName('class][third_party_settings][block_class][classes',$this->t("Isn't necessary add point in the beginning of class"));