Skip to content

Commit 875c273

Browse files
authored
Update validator-rules-mixin.js
1 parent 7a97094 commit 875c273

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/js/form/element/validator-rules-mixin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ define([
6767
* @return {Boolean}
6868
*/
6969
function validateCssClass(str) {
70-
return (/^[a-zA-Z _\-\:\d]+$/i).test(str);
70+
return (/^[a-zA-Z\d\-_/:.\[\]&@()! ]*$/i).test(str);
7171
}
7272

7373
/**

0 commit comments

Comments
 (0)